1 |
/**< |
/* |
2 |
* Common Relation Construction Routines |
* Common Relation Construction Routines |
3 |
* Version: $Revision: 1.4 $ |
* Version: $Revision: 1.4 $ |
4 |
* Version control file: $RCSfile: rel_common.h,v $ |
* Version control file: $RCSfile: rel_common.h,v $ |
24 |
* Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING. |
* Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING. |
25 |
*/ |
*/ |
26 |
|
|
27 |
#ifndef __REL_COMMON_H_SEEN__ |
/** @file |
28 |
#define __REL_COMMON_H_SEEN__ |
* Common Relation Construction Routines. |
29 |
|
* <pre> |
30 |
|
* When #including rel_common.h, make sure these files are #included first: |
31 |
|
* #include "utilities/ascConfig.h" |
32 |
|
* #include "types.h" |
33 |
|
* </pre> |
34 |
|
*/ |
35 |
|
|
36 |
|
#ifndef ASC_REL_COMMON_H |
37 |
|
#define ASC_REL_COMMON_H |
38 |
|
|
39 |
extern int CmpP(CONST char *, CONST char *); |
extern int CmpP(CONST char *c1, CONST char *c2); |
40 |
/**< |
/**< |
|
* int CmpP(c1,c2) |
|
|
* CONST char *c1; |
|
|
* CONST char *c2; |
|
41 |
* Compare two character pointers. |
* Compare two character pointers. |
42 |
*/ |
*/ |
43 |
|
|
44 |
extern void Swap(unsigned long int *, unsigned long int *); |
extern void Swap(unsigned long int *p1, unsigned long int *p2); |
45 |
/**< |
/**< |
|
* void Swap(p1,p2) |
|
|
* unsigned long int *p1 |
|
|
* unsigned long int *p2 |
|
|
* unsigned long temp |
|
46 |
* Exchange the value of pointers p1 and p2 |
* Exchange the value of pointers p1 and p2 |
47 |
*/ |
*/ |
48 |
|
|
49 |
extern CONST struct Expr *FindLastExpr(register CONST struct Expr *); |
extern CONST struct Expr *FindLastExpr(register CONST struct Expr *ex); |
50 |
/**< |
/**< |
|
* CONST struct Expr *FindLastExpr(ex) |
|
|
* register CONST struct Expr *ex |
|
51 |
* Return the next pointer in a link of expressions |
* Return the next pointer in a link of expressions |
52 |
*/ |
*/ |
53 |
|
|
54 |
|
#endif /* ASC_REL_COMMON_H */ |
55 |
|
|
|
#endif /*__ REL_COMMON_H_SEEN__ */ |
|