mowgli.h   mowgli.h 
skipping to change at line 76 skipping to change at line 76
#include "mowgli_error_backtrace.h" #include "mowgli_error_backtrace.h"
#include "mowgli_random.h" #include "mowgli_random.h"
#include "mowgli_ioevent.h" #include "mowgli_ioevent.h"
#include "mowgli_argstack.h" #include "mowgli_argstack.h"
#include "mowgli_object_messaging.h" #include "mowgli_object_messaging.h"
#include "mowgli_object_metadata.h" #include "mowgli_object_metadata.h"
#include "mowgli_global_storage.h" #include "mowgli_global_storage.h"
#include "mowgli_string.h" #include "mowgli_string.h"
#include "mowgli_allocator.h" #include "mowgli_allocator.h"
#include "mowgli_formatter.h" #include "mowgli_formatter.h"
#include "mowgli_index.h"
MOWGLI_DECLS_END MOWGLI_DECLS_END
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 mowgli_allocator.h   mowgli_allocator.h 
skipping to change at line 27 skipping to change at line 27
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef __MOWGLI_ALLOCATOR_H__ #ifndef __MOWGLI_ALLOCATOR_H__
#define __MOWGLI_ALLOCATOR_H__ #define __MOWGLI_ALLOCATOR_H__
void mowgli_allocator_init(void); void mowgli_allocator_init(void) MOWGLI_DEPRECATED;
extern mowgli_allocation_policy_t *mowgli_allocator_malloc; extern mowgli_allocation_policy_t *mowgli_allocator_malloc MOWGLI_DEPRECATE
D;
#endif #endif
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added


 mowgli_config.h   mowgli_config.h 
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.9.50" #define PACKAGE_STRING "libmowgli 0.9.95"
/* 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 home page for this package. */ /* Define to the home page for this package. */
#define PACKAGE_URL "" #define PACKAGE_URL ""
/* Define to the version of this package. */ /* Define to the version of this package. */
#define PACKAGE_VERSION "0.9.50" #define PACKAGE_VERSION "0.9.95"
/* 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. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 mowgli_dictionary.h   mowgli_dictionary.h 
skipping to change at line 66 skipping to change at line 66
/* /*
* this is a convenience macro for inlining iteration of dictionaries. * this is a convenience macro for inlining iteration of dictionaries.
*/ */
#define MOWGLI_DICTIONARY_FOREACH(element, state, dict) for (mowgli_diction ary_foreach_start((dict), (state)); (element = mowgli_dictionary_foreach_cu r((dict), (state))); mowgli_dictionary_foreach_next((dict), (state))) #define MOWGLI_DICTIONARY_FOREACH(element, state, dict) for (mowgli_diction ary_foreach_start((dict), (state)); (element = mowgli_dictionary_foreach_cu r((dict), (state))); mowgli_dictionary_foreach_next((dict), (state)))
/* /*
* mowgli_dictionary_create() creates a new dictionary tree. * mowgli_dictionary_create() creates a new dictionary tree.
* compare_cb is the comparison function, typically strcmp, strcasecmp or * compare_cb is the comparison function, typically strcmp, strcasecmp or
* irccasecmp. * irccasecmp.
*/ */
extern mowgli_dictionary_t *mowgli_dictionary_create(mowgli_dictionary_comp arator_func_t compare_cb); extern mowgli_dictionary_t *mowgli_dictionary_create(mowgli_dictionary_comp arator_func_t compare_cb) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_create_named() creates a new dictionary tree which has a name. * mowgli_dictionary_create_named() creates a new dictionary tree which has a name.
* name is the name, compare_cb is the comparator. * name is the name, compare_cb is the comparator.
*/ */
extern mowgli_dictionary_t *mowgli_dictionary_create_named(const char *name , mowgli_dictionary_comparator_func_t compare_cb); extern mowgli_dictionary_t *mowgli_dictionary_create_named(const char *name , mowgli_dictionary_comparator_func_t compare_cb) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_set_comparator_func() resets the comparator used for l ookups and * mowgli_dictionary_set_comparator_func() resets the comparator used for l ookups and
* insertions in the DTree structure. * insertions in the DTree structure.
*/ */
extern void mowgli_dictionary_set_comparator_func(mowgli_dictionary_t *dict , extern void mowgli_dictionary_set_comparator_func(mowgli_dictionary_t *dict ,
mowgli_dictionary_comparator_func_t compare_cb); mowgli_dictionary_comparator_func_t compare_cb) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_get_comparator_func() returns the comparator used for lookups and * mowgli_dictionary_get_comparator_func() returns the comparator used for lookups and
* insertions in the DTree structure. * insertions in the DTree structure.
*/ */
extern mowgli_dictionary_comparator_func_t mowgli_dictionary_get_comparator _func(mowgli_dictionary_t *dict); extern mowgli_dictionary_comparator_func_t mowgli_dictionary_get_comparator _func(mowgli_dictionary_t *dict) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_get_linear_index() returns the linear index of an obje ct in the * mowgli_dictionary_get_linear_index() returns the linear index of an obje ct in the
* DTree structure. * DTree structure.
*/ */
extern int mowgli_dictionary_get_linear_index(mowgli_dictionary_t *dict, co nst char *key); extern int mowgli_dictionary_get_linear_index(mowgli_dictionary_t *dict, co nst char *key) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_destroy() destroys all entries in a dtree, and also op tionally calls * mowgli_dictionary_destroy() destroys all entries in a dtree, and also op tionally calls
* a defined callback function to destroy any data attached to it. * a defined callback function to destroy any data attached to it.
*/ */
extern void mowgli_dictionary_destroy(mowgli_dictionary_t *dtree, extern void mowgli_dictionary_destroy(mowgli_dictionary_t *dtree,
void (*destroy_cb)(mowgli_dictionary_elem_t *delem, void *privdata), void (*destroy_cb)(mowgli_dictionary_elem_t *delem, void *privdata),
void *privdata); void *privdata) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_foreach() iterates all entries in a dtree, and also op tionally calls * mowgli_dictionary_foreach() iterates all entries in a dtree, and also op tionally calls
* a defined callback function to use any data attached to it. * a defined callback function to use any data attached to it.
* *
* To shortcircuit iteration, return non-zero from the callback function. * To shortcircuit iteration, return non-zero from the callback function.
*/ */
extern void mowgli_dictionary_foreach(mowgli_dictionary_t *dtree, extern void mowgli_dictionary_foreach(mowgli_dictionary_t *dtree,
int (*foreach_cb)(mowgli_dictionary_elem_t *delem, void *privdata), int (*foreach_cb)(mowgli_dictionary_elem_t *delem, void *privdata),
void *privdata); void *privdata) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_search() iterates all entries in a dtree, and also opt ionally calls * mowgli_dictionary_search() iterates all entries in a dtree, and also opt ionally calls
* a defined callback function to use any data attached to it. * a defined callback function to use any data attached to it.
* *
* When the object is found, a non-NULL is returned from the callback, whic h results * When the object is found, a non-NULL is returned from the callback, whic h results
* in that object being returned to the user. * in that object being returned to the user.
*/ */
extern void *mowgli_dictionary_search(mowgli_dictionary_t *dtree, extern void *mowgli_dictionary_search(mowgli_dictionary_t *dtree,
void *(*foreach_cb)(mowgli_dictionary_elem_t *delem, void *privdata) , void *(*foreach_cb)(mowgli_dictionary_elem_t *delem, void *privdata) ,
void *privdata); void *privdata) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_foreach_start() begins an iteration over all items * mowgli_dictionary_foreach_start() begins an iteration over all items
* keeping state in the given struct. If there is only one iteration * keeping state in the given struct. If there is only one iteration
* in progress at a time, it is permitted to remove the current element * in progress at a time, it is permitted to remove the current element
* of the iteration (but not any other element). * of the iteration (but not any other element).
*/ */
extern void mowgli_dictionary_foreach_start(mowgli_dictionary_t *dtree, extern void mowgli_dictionary_foreach_start(mowgli_dictionary_t *dtree,
mowgli_dictionary_iteration_state_t *state); mowgli_dictionary_iteration_state_t *state) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_foreach_cur() returns the current element of the itera tion, * mowgli_dictionary_foreach_cur() returns the current element of the itera tion,
* or NULL if there are no more elements. * or NULL if there are no more elements.
*/ */
extern void *mowgli_dictionary_foreach_cur(mowgli_dictionary_t *dtree, extern void *mowgli_dictionary_foreach_cur(mowgli_dictionary_t *dtree,
mowgli_dictionary_iteration_state_t *state); mowgli_dictionary_iteration_state_t *state) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_foreach_next() moves to the next element. * mowgli_dictionary_foreach_next() moves to the next element.
*/ */
extern void mowgli_dictionary_foreach_next(mowgli_dictionary_t *dtree, extern void mowgli_dictionary_foreach_next(mowgli_dictionary_t *dtree,
mowgli_dictionary_iteration_state_t *state); mowgli_dictionary_iteration_state_t *state) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_add() adds a key->value entry to the dictionary tree. * mowgli_dictionary_add() adds a key->value entry to the dictionary tree.
*/ */
extern mowgli_dictionary_elem_t *mowgli_dictionary_add(mowgli_dictionary_t *dtree, const char *key, void *data); extern mowgli_dictionary_elem_t *mowgli_dictionary_add(mowgli_dictionary_t *dtree, const char *key, void *data) MOWGLI_DEPRECATED;
/* /*
* mowgli_dictionary_find() returns a mowgli_dictionary_elem_t container fr om a dtree for key 'key'. * mowgli_dictionary_find() returns a mowgli_dictionary_elem_t container fr om a dtree for key 'key'.
*/ */
extern mowgli_dictionary_elem_t *mowgli_dictionary_find(mowgli_dictionary_t *dtree, const char *key); extern mowgli_dictionary_elem_t *mowgli_dictionary_find(mowgli_dictionary_t *dtree, const char *key) MOWGLI_DEPRECATED;
/* /*
* 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_DEPRECATED;
/* /*
* 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) MOWGLI_DEPRECATED;
void mowgli_dictionary_stats(mowgli_dictionary_t *dict, void (*cb)(const ch ar *line, void *privdata), void *privdata); void mowgli_dictionary_stats(mowgli_dictionary_t *dict, void (*cb)(const ch ar *line, void *privdata), void *privdata) MOWGLI_DEPRECATED;
#endif #endif
 End of changes. 16 change blocks. 
16 lines changed or deleted 16 lines changed or added


 mowgli_ioevent.h   mowgli_ioevent.h 
skipping to change at line 47 skipping to change at line 47
unsigned int ev_status; unsigned int ev_status;
int ev_object; int ev_object;
void *ev_opaque; void *ev_opaque;
} mowgli_ioevent_t; } mowgli_ioevent_t;
#define MOWGLI_POLLRDNORM 0x01 #define MOWGLI_POLLRDNORM 0x01
#define MOWGLI_POLLWRNORM 0x02 #define MOWGLI_POLLWRNORM 0x02
#define MOWGLI_POLLHUP 0x04 #define MOWGLI_POLLHUP 0x04
#define MOWGLI_POLLERR 0x08 #define MOWGLI_POLLERR 0x08
extern mowgli_ioevent_handle_t *mowgli_ioevent_create(void); extern mowgli_ioevent_handle_t *mowgli_ioevent_create(void) MOWGLI_DEPRECAT
extern void mowgli_ioevent_destroy(mowgli_ioevent_handle_t *self); ED;
extern void mowgli_ioevent_destroy(mowgli_ioevent_handle_t *self) MOWGLI_DE
PRECATED;
extern int mowgli_ioevent_get(mowgli_ioevent_handle_t *self, mowgli_ioevent _t *buf, size_t bufsize, unsigned int delay); extern int mowgli_ioevent_get(mowgli_ioevent_handle_t *self, mowgli_ioevent _t *buf, size_t bufsize, unsigned int delay) MOWGLI_DEPRECATED;
extern void mowgli_ioevent_associate(mowgli_ioevent_handle_t *self, mowgli_ extern void mowgli_ioevent_associate(mowgli_ioevent_handle_t *self, mowgli_
ioevent_source_t source, int object, unsigned int flags, void *opaque); ioevent_source_t source, int object, unsigned int flags, void *opaque) MOWG
extern void mowgli_ioevent_dissociate(mowgli_ioevent_handle_t *self, mowgli LI_DEPRECATED;
_ioevent_source_t source, int object); extern void mowgli_ioevent_dissociate(mowgli_ioevent_handle_t *self, mowgli
_ioevent_source_t source, int object) MOWGLI_DEPRECATED;
#endif #endif
 End of changes. 3 change blocks. 
7 lines changed or deleted 10 lines changed or added


 mowgli_spinlock.h   mowgli_spinlock.h 
skipping to change at line 38 skipping to change at line 38
void *read_owner; /* opaque data representing a spinlock's own er */ void *read_owner; /* opaque data representing a spinlock's own er */
void *write_owner; /* opaque data representing a spinlock's own er */ void *write_owner; /* opaque data representing a spinlock's own er */
} mowgli_spinlock_t; } mowgli_spinlock_t;
typedef enum { typedef enum {
MOWGLI_SPINLOCK_READ, MOWGLI_SPINLOCK_READ,
MOWGLI_SPINLOCK_WRITE, MOWGLI_SPINLOCK_WRITE,
MOWGLI_SPINLOCK_READWRITE MOWGLI_SPINLOCK_READWRITE
} mowgli_spinlock_lock_param_t; } mowgli_spinlock_lock_param_t;
extern mowgli_spinlock_t *mowgli_spinlock_create(void); extern mowgli_spinlock_t *mowgli_spinlock_create(void) MOWGLI_DEPRECATED;
extern void mowgli_spinlock_lock(mowgli_spinlock_t *self, void *r, void *w) extern void mowgli_spinlock_lock(mowgli_spinlock_t *self, void *r, void *w)
; MOWGLI_DEPRECATED;
extern void mowgli_spinlock_unlock(mowgli_spinlock_t *self, void *r, void * extern void mowgli_spinlock_unlock(mowgli_spinlock_t *self, void *r, void *
w); w) MOWGLI_DEPRECATED;
extern void mowgli_spinlock_wait(mowgli_spinlock_t *self, mowgli_spinlock_l extern void mowgli_spinlock_wait(mowgli_spinlock_t *self, mowgli_spinlock_l
ock_param_t param); ock_param_t param) MOWGLI_DEPRECATED;
extern void mowgli_spinlock_timed_wait(mowgli_spinlock_t *self, mowgli_spin extern void mowgli_spinlock_timed_wait(mowgli_spinlock_t *self, mowgli_spin
lock_lock_param_t param, struct timeval *tv); lock_lock_param_t param, struct timeval *tv) MOWGLI_DEPRECATED;
#endif #endif
 End of changes. 1 change blocks. 
9 lines changed or deleted 9 lines changed or added


 mowgli_stdinc.h   mowgli_stdinc.h 
skipping to change at line 86 skipping to change at line 86
/* Macros for min/max. */ /* Macros for min/max. */
#ifndef MIN #ifndef MIN
# define MIN(a,b) (((a)<(b))?(a):(b)) # define MIN(a,b) (((a)<(b))?(a):(b))
#endif #endif
#ifndef MAX #ifndef MAX
# define MAX(a,b) (((a)>(b))?(a):(b)) # define MAX(a,b) (((a)>(b))?(a):(b))
#endif #endif
#if defined(__GNUC__) || defined(_INTEL_COMPILER)
#define MOWGLI_DEPRECATED \
__attribute__((deprecated))
#elif defined(_MSC_VER)
#define MOWGLI_DEPRECATED \
__declspec(deprecated)
#else
#define MOWGLI_DEPRECATED
#endif
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added


 mowgli_string.h   mowgli_string.h 
skipping to change at line 45 skipping to change at line 45
void (*append_char)(struct mowgli_string_ *self, const char c); void (*append_char)(struct mowgli_string_ *self, const char c);
void (*destroy)(struct mowgli_string_ *self); void (*destroy)(struct mowgli_string_ *self);
} mowgli_string_t; } mowgli_string_t;
extern mowgli_string_t *mowgli_string_create(void); extern mowgli_string_t *mowgli_string_create(void);
extern void mowgli_string_reset(mowgli_string_t *self); extern void mowgli_string_reset(mowgli_string_t *self);
extern void mowgli_string_destroy(mowgli_string_t *self); extern void mowgli_string_destroy(mowgli_string_t *self);
extern void mowgli_string_append(mowgli_string_t *self, const char *src, si ze_t n); extern void mowgli_string_append(mowgli_string_t *self, const char *src, si ze_t n);
extern void mowgli_string_append_char(mowgli_string_t *self, const char c); extern void mowgli_string_append_char(mowgli_string_t *self, const char c);
extern size_t mowgli_strlcat(char *dest, const char *src, size_t count);
extern size_t mowgli_strlcpy(char *dest, const char *src, size_t count);
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/