mowgli_config.h | mowgli_config.h | |||
---|---|---|---|---|
/* src/libmowgli/mowgli_config.h. Generated by configure. */ | /* src/libmowgli/mowgli_config.h. Generated from mowgli_config.h.in by con figure. */ | |||
/* src/libmowgli/mowgli_config.h.in. Generated from configure.ac by autohe ader. */ | /* src/libmowgli/mowgli_config.h.in. Generated from configure.ac by autohe ader. */ | |||
/* Define to 1 if the `closedir' function returns void instead of `int'. */ | /* Define to 1 if the `closedir' function returns void instead of `int'. */ | |||
/* #undef CLOSEDIR_VOID */ | /* #undef CLOSEDIR_VOID */ | |||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR' . | /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR' . | |||
*/ | */ | |||
#define HAVE_DIRENT_H 1 | #define HAVE_DIRENT_H 1 | |||
/* Define to 1 if you have the `epoll_ctl' function. */ | /* Define to 1 if you have the `epoll_ctl' function. */ | |||
skipping to change at line 133 | skipping to change at line 133 | |||
slash. */ | slash. */ | |||
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 | |||
/* Define to the address where bug reports for this package should be sent. */ | /* Define to the address where bug reports for this package should be sent. */ | |||
#define PACKAGE_BUGREPORT "bugs+libmowgli@atheme.org" | #define PACKAGE_BUGREPORT "bugs+libmowgli@atheme.org" | |||
/* Define to the full name of this package. */ | /* Define to the full name of this package. */ | |||
#define PACKAGE_NAME "libmowgli" | #define PACKAGE_NAME "libmowgli" | |||
/* Define to the full name and version of this package. */ | /* Define to the full name and version of this package. */ | |||
#define PACKAGE_STRING "libmowgli 0.3.1" | #define PACKAGE_STRING "libmowgli 0.4.0" | |||
/* Define to the one symbol short name of this package. */ | /* Define to the one symbol short name of this package. */ | |||
#define PACKAGE_TARNAME "libmowgli" | #define PACKAGE_TARNAME "libmowgli" | |||
/* Define to the version of this package. */ | /* Define to the version of this package. */ | |||
#define PACKAGE_VERSION "0.3.1" | #define PACKAGE_VERSION "0.4.0" | |||
/* Define the shared module suffix extension on your platform. */ | /* Define the shared module suffix extension on your platform. */ | |||
#define SHARED_SUFFIX ".so" | #define SHARED_SUFFIX ".so" | |||
/* Define to 1 if you have the ANSI C header files. */ | /* Define to 1 if you have the ANSI C header files. */ | |||
#define STDC_HEADERS 1 | #define STDC_HEADERS 1 | |||
/* Define to empty if `const' does not conform to ANSI C. */ | /* Define to empty if `const' does not conform to ANSI C. */ | |||
/* #undef const */ | /* #undef const */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
mowgli_dictionary.h | mowgli_dictionary.h | |||
---|---|---|---|---|
skipping to change at line 42 | skipping to change at line 42 | |||
* POSSIBILITY OF SUCH DAMAGE. | * POSSIBILITY OF SUCH DAMAGE. | |||
*/ | */ | |||
#ifndef __MOWGLI_DICTIONARY_H__ | #ifndef __MOWGLI_DICTIONARY_H__ | |||
#define __MOWGLI_DICTIONARY_H__ | #define __MOWGLI_DICTIONARY_H__ | |||
struct mowgli_dictionary_; /* defined in src/dictionary.c */ | struct mowgli_dictionary_; /* defined in src/dictionary.c */ | |||
typedef struct mowgli_dictionary_ mowgli_dictionary_t; | typedef struct mowgli_dictionary_ mowgli_dictionary_t; | |||
/* | ||||
* mowgli_dictionary_elem_t is a child of node_t, which adds a key field. | ||||
* node_t access is done by ((node_t *) delem)->next|prev, | ||||
* or through delem->node.(next|prev). | ||||
*/ | ||||
typedef struct mowgli_dictionary_elem_ mowgli_dictionary_elem_t; | typedef struct mowgli_dictionary_elem_ mowgli_dictionary_elem_t; | |||
struct mowgli_dictionary_elem_ | struct mowgli_dictionary_elem_ | |||
{ | { | |||
mowgli_dictionary_elem_t *left, *right, *prev, *next; | mowgli_dictionary_elem_t *left, *right, *prev, *next; | |||
void *data; | void *data; | |||
const char *key; | char *key; | |||
}; | }; | |||
/* | /* | |||
* mowgli_dictionary_iteration_state_t, private. | * mowgli_dictionary_iteration_state_t, private. | |||
*/ | */ | |||
struct mowgli_dictionary_iteration_state_ | struct mowgli_dictionary_iteration_state_ | |||
{ | { | |||
mowgli_dictionary_elem_t *cur, *next; | mowgli_dictionary_elem_t *cur, *next; | |||
}; | }; | |||
skipping to change at line 149 | skipping to change at line 144 | |||
/* | /* | |||
* mowgli_dictionary_find() returns data from a dtree for key 'key'. | * mowgli_dictionary_find() returns data from a dtree for key 'key'. | |||
*/ | */ | |||
extern void *mowgli_dictionary_retrieve(mowgli_dictionary_t *dtree, const c har *key); | extern void *mowgli_dictionary_retrieve(mowgli_dictionary_t *dtree, const c har *key); | |||
/* | /* | |||
* mowgli_dictionary_delete() deletes a key->value entry from the dictionar y tree. | * mowgli_dictionary_delete() deletes a key->value entry from the dictionar y tree. | |||
*/ | */ | |||
extern void *mowgli_dictionary_delete(mowgli_dictionary_t *dtree, const cha r *key); | extern void *mowgli_dictionary_delete(mowgli_dictionary_t *dtree, const cha r *key); | |||
void mowgli_dictionary_stats(mowgli_dictionary_t *dict, void (*cb)(const ch | ||||
ar *line, void *privdata), void *privdata); | ||||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 4 lines changed or added | |||