mowgli.h   mowgli.h 
skipping to change at line 56 skipping to change at line 56
# include "mowgli_config.h" # include "mowgli_config.h"
#endif #endif
#include "mowgli_stdinc.h" #include "mowgli_stdinc.h"
MOWGLI_DECLS_START MOWGLI_DECLS_START
#include "mowgli_logger.h" #include "mowgli_logger.h"
#include "mowgli_assert.h" #include "mowgli_assert.h"
#include "mowgli_exception.h" #include "mowgli_exception.h"
#include "mowgli_iterator.h"
#include "mowgli_alloc.h" #include "mowgli_alloc.h"
#include "mowgli_spinlock.h" #include "mowgli_spinlock.h"
#include "mowgli_list.h" #include "mowgli_list.h"
#include "mowgli_object_class.h" #include "mowgli_object_class.h"
#include "mowgli_object.h" #include "mowgli_object.h"
#include "mowgli_dictionary.h" #include "mowgli_dictionary.h"
#include "mowgli_mempool.h" #include "mowgli_mempool.h"
#include "mowgli_module.h" #include "mowgli_module.h"
#include "mowgli_queue.h" #include "mowgli_queue.h"
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 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.3.0" #define PACKAGE_STRING "libmowgli 0.3.1"
/* 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.0" #define PACKAGE_VERSION "0.3.1"
/* 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. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 mowgli_list.h   mowgli_list.h 
skipping to change at line 21 skipping to change at line 21
* 1. Redistributions of source code must retain the above copyright notice , * 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer. * this list of conditions and the following disclaimer.
* *
* 2. Redistributions in binary form must reproduce the above copyright * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution. * documentation and/or other materials provided with the distribution.
* *
* 3. The name of the author may not be used to endorse or promote products * 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission. * derived from this software without specific prior written permission.
* *
* THIS SOFTWARextern IS PROVIDED BY THextern AUTHOR ``AS IS'' AND ANY EXPR * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
ESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THextern IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSextern * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
ARE
* DISCLAIMED. IN NO EVENT SHALL THextern AUTHOR Bextern LIABLextern FOR AN
Y DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTextern GOODS OR * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* 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 NEGLIGENCextern OR OTHERWISE) ARISI * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
NG * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* IN ANY WAY OUT OF THextern USextern OF THIS SOFTWARE, EVEN IF ADVISED OF
THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef __MOWGLI_LIST_H__ #ifndef __MOWGLI_LIST_H__
#define __MOWGLI_LIST_H__ #define __MOWGLI_LIST_H__
/* macros for linked lists */ /* macros for linked lists */
#define MOWGLI_LIST_FOREACH(n, head) for (n = (head); n; n = n->next) #define MOWGLI_LIST_FOREACH(n, head) for (n = (head); n; n = n->next)
#define MOWGLI_LIST_FOREACH_NEXT(n, head) for (n = (head); n->next; n = n-> next) #define MOWGLI_LIST_FOREACH_NEXT(n, head) for (n = (head); n->next; n = n-> next)
#define MOWGLI_LIST_FOREACH_PREV(n, tail) for (n = (tail); n; n = n->prev) #define MOWGLI_LIST_FOREACH_PREV(n, tail) for (n = (tail); n; n = n->prev)
 End of changes. 3 change blocks. 
12 lines changed or deleted 7 lines changed or added


 mowgli_queue.h   mowgli_queue.h 
skipping to change at line 37 skipping to change at line 37
* 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_QUEUE_H__ #ifndef __MOWGLI_QUEUE_H__
#define __MOWGLI_QUEUE_H__ #define __MOWGLI_QUEUE_H__
typedef struct mowgli_queue_ { typedef mowgli_iterator_t mowgli_queue_t;
struct mowgli_queue_ *prev, *next;
void *data;
} mowgli_queue_t;
extern void mowgli_queue_init(void); extern void mowgli_queue_init(void);
extern mowgli_queue_t *mowgli_queue_push(mowgli_queue_t *head, void *data); extern mowgli_queue_t *mowgli_queue_push(mowgli_queue_t *head, void *data);
extern mowgli_queue_t *mowgli_queue_shift(mowgli_queue_t *head, void *data) ; extern mowgli_queue_t *mowgli_queue_shift(mowgli_queue_t *head, void *data) ;
extern mowgli_queue_t *mowgli_queue_remove(mowgli_queue_t *head); extern mowgli_queue_t *mowgli_queue_remove(mowgli_queue_t *head);
extern mowgli_queue_t *mowgli_queue_find(mowgli_queue_t *head, void *data); extern mowgli_queue_t *mowgli_queue_find(mowgli_queue_t *head, void *data);
extern mowgli_queue_t *mowgli_queue_remove_data(mowgli_queue_t *head, void *data); extern mowgli_queue_t *mowgli_queue_remove_data(mowgli_queue_t *head, void *data);
extern void mowgli_queue_destroy(mowgli_queue_t *head); extern void mowgli_queue_destroy(mowgli_queue_t *head);
extern mowgli_queue_t *mowgli_queue_skip(mowgli_queue_t *head, int amt); extern mowgli_queue_t *mowgli_queue_skip(mowgli_queue_t *head, int amt);
extern mowgli_queue_t *mowgli_queue_rewind(mowgli_queue_t *head, int amt); extern mowgli_queue_t *mowgli_queue_rewind(mowgli_queue_t *head, int amt);
 End of changes. 1 change blocks. 
4 lines changed or deleted 1 lines changed or added


 mowgli_signal.h   mowgli_signal.h 
skipping to change at line 37 skipping to change at line 37
* 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_SIGNAL_H__ #ifndef __MOWGLI_SIGNAL_H__
#define __MOWGLI_SIGNAL_H__ #define __MOWGLI_SIGNAL_H__
typedef void (*signal_handler_t) (int); typedef void (*mowgli_signal_handler_t) (int);
extern signal_handler_t mowgli_signal_install_handler(int signum, signal_ha ndler_t handler); extern mowgli_signal_handler_t mowgli_signal_install_handler(int signum, mo wgli_signal_handler_t handler);
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 mowgli_spinlock.h   mowgli_spinlock.h 
skipping to change at line 49 skipping to change at line 49
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);
extern void mowgli_spinlock_lock(mowgli_spinlock_t *self, void *read, void extern void mowgli_spinlock_lock(mowgli_spinlock_t *self, void *r, void *w)
*write); ;
extern void mowgli_spinlock_unlock(mowgli_spinlock_t *self, void *read, voi extern void mowgli_spinlock_unlock(mowgli_spinlock_t *self, void *r, void *
d *write); w);
extern void mowgli_spinlock_wait(mowgli_spinlock_t *self, mowgli_spinlock_l ock_param_t param); extern void mowgli_spinlock_wait(mowgli_spinlock_t *self, mowgli_spinlock_l ock_param_t param);
extern void mowgli_spinlock_timed_wait(mowgli_spinlock_t *self, mowgli_spin lock_lock_param_t param, struct timeval *tv); extern void mowgli_spinlock_timed_wait(mowgli_spinlock_t *self, mowgli_spin lock_lock_param_t param, struct timeval *tv);
#endif #endif
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 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/