vcwindow.h revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2003-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#ifndef _VCWINDOW_H
#define _VCWINDOW_H 1
/* Window matching algorithms for delta compression of large files.
**
** Written by Kiem-Phong Vo
*/
typedef struct _vcwmatch_s Vcwmatch_t;
typedef struct _vcwmethod_s Vcwmethod_t;
typedef struct _vcwdisc_s Vcwdisc_t;
typedef struct _vcwindow_s Vcwindow_t;
struct _vcwmatch_s
{ int type; /* VCD_[SOURCE|TARGET]FILE */
int more; /* more subwindows to process */
};
struct _vcwmethod_s
char* name;
char* desc;
char* about;
};
struct _vcwdisc_s
};
struct _vcwindow_s
{ Vcwmethod_t* meth;
};
/* window events */
#define VCW_OPENING 0
#define VCW_CLOSING 1
#if _BLD_vcodex && defined(__EXPORT__)
#define extern extern __EXPORT__
#endif
#if !_BLD_vcodex && defined(__IMPORT__)
#define extern extern __IMPORT__
#endif
extern Vcwmethod_t* Vcwmirror;
extern Vcwmethod_t* Vcwvote;
extern Vcwmethod_t* Vcwprefix;
#undef extern
#if _BLD_vcodex && defined(__EXPORT__)
#define extern __EXPORT__
#endif
#undef extern
#endif /*_VCWINDOW_H*/