Blame src/xdiff/xutils.h

Packit Service 20376f
/*
Packit Service 20376f
 *  LibXDiff by Davide Libenzi ( File Differential Library )
Packit Service 20376f
 *  Copyright (C) 2003  Davide Libenzi
Packit Service 20376f
 *
Packit Service 20376f
 *  This library is free software; you can redistribute it and/or
Packit Service 20376f
 *  modify it under the terms of the GNU Lesser General Public
Packit Service 20376f
 *  License as published by the Free Software Foundation; either
Packit Service 20376f
 *  version 2.1 of the License, or (at your option) any later version.
Packit Service 20376f
 *
Packit Service 20376f
 *  This library is distributed in the hope that it will be useful,
Packit Service 20376f
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 20376f
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 20376f
 *  Lesser General Public License for more details.
Packit Service 20376f
 *
Packit Service 20376f
 *  You should have received a copy of the GNU Lesser General Public
Packit Service 20376f
 *  License along with this library; if not, write to the Free Software
Packit Service 20376f
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit Service 20376f
 *
Packit Service 20376f
 *  Davide Libenzi <davidel@xmailserver.org>
Packit Service 20376f
 *
Packit Service 20376f
 */
Packit Service 20376f
Packit Service 20376f
#if !defined(XUTILS_H)
Packit Service 20376f
#define XUTILS_H
Packit Service 20376f
Packit Service 20376f
Packit Service 20376f
Packit Service 20376f
long xdl_bogosqrt(long n);
Packit Service 20376f
int xdl_emit_diffrec(char const *rec, long size, char const *pre, long psize,
Packit Service 20376f
		     xdemitcb_t *ecb);
Packit Service 20376f
int xdl_cha_init(chastore_t *cha, long isize, long icount);
Packit Service 20376f
void xdl_cha_free(chastore_t *cha);
Packit Service 20376f
void *xdl_cha_alloc(chastore_t *cha);
Packit Service 20376f
void *xdl_cha_first(chastore_t *cha);
Packit Service 20376f
void *xdl_cha_next(chastore_t *cha);
Packit Service 20376f
long xdl_guess_lines(mmfile_t *mf, long sample);
Packit Service 20376f
int xdl_blankline(const char *line, long size, long flags);
Packit Service 20376f
int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags);
Packit Service 20376f
unsigned long xdl_hash_record(char const **data, char const *top, long flags);
Packit Service 20376f
unsigned int xdl_hashbits(unsigned int size);
Packit Service 20376f
int xdl_num_out(char *out, long val);
Packit Service 20376f
long xdl_atol(char const *str, char const **next);
Packit Service 20376f
int xdl_emit_hunk_hdr(long s1, long c1, long s2, long c2,
Packit Service 20376f
		      const char *func, long funclen, xdemitcb_t *ecb);
Packit Service 20376f
int xdl_fall_back_diff(xdfenv_t *diff_env, xpparam_t const *xpp,
Packit Service 20376f
		       int line1, int count1, int line2, int count2);
Packit Service 20376f
Packit Service 20376f
Packit Service 20376f
Packit Service 20376f
#endif /* #if !defined(XUTILS_H) */