2001-01-25 10:37:55 +01:00
|
|
|
/* vi: set ts=2:
|
|
|
|
*
|
2001-04-14 13:39:14 +02:00
|
|
|
*
|
2003-07-29 11:48:03 +02:00
|
|
|
* Eressea PB(E)M host Copyright (C) 1998-2003
|
2001-01-25 10:37:55 +01:00
|
|
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
|
|
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
|
|
|
* Henning Peters (faroul@beyond.kn-bremen.de)
|
|
|
|
* Enno Rehling (enno@eressea-pbem.de)
|
|
|
|
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
|
|
|
|
*
|
|
|
|
* This program may not be used, modified or distributed without
|
|
|
|
* prior permission by the authors of Eressea.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GOODIES_H
|
|
|
|
#define GOODIES_H
|
2003-07-29 11:48:03 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2001-01-25 10:37:55 +01:00
|
|
|
|
|
|
|
extern int *intlist_init(void);
|
|
|
|
extern int *intlist_add(int *i_p, int i);
|
|
|
|
extern int *intlist_find(int *i_p, int i);
|
2001-05-06 23:49:16 +02:00
|
|
|
|
2006-02-05 00:41:23 +01:00
|
|
|
#ifdef HAVE_INLINE
|
|
|
|
# include "strings.c"
|
|
|
|
#else
|
|
|
|
extern unsigned int hashstring(const char* s);
|
2001-05-06 23:49:16 +02:00
|
|
|
extern const char *escape_string(const char * str, char * buffer, unsigned int len);
|
2006-02-05 00:41:23 +01:00
|
|
|
#endif
|
|
|
|
|
2001-04-13 16:39:57 +02:00
|
|
|
extern boolean locale_check(void);
|
2004-08-22 11:33:15 +02:00
|
|
|
|
|
|
|
extern int set_email(char** pemail, const char *newmail);
|
2001-05-06 23:49:16 +02:00
|
|
|
/* fast strncat */
|
2001-01-25 10:37:55 +01:00
|
|
|
/* grammar constants: */
|
|
|
|
#define GR_PLURAL 0x01
|
|
|
|
/* 0x02-0x08 left unused for individual use */
|
|
|
|
#define GR_ARTICLE 0x10
|
|
|
|
#define GR_INDEFINITE_ARTICLE 0x20
|
|
|
|
|
2003-07-29 11:48:03 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2001-01-25 10:37:55 +01:00
|
|
|
#endif /* GOODIES_H */
|