mowgli.h | mowgli.h | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
# define MOWGLI_DECLS_START extern "C" { | # define MOWGLI_DECLS_START extern "C" { | |||
# define MOWGLI_DECLS_END } | # define MOWGLI_DECLS_END } | |||
#else | #else | |||
# define MOWGLI_DECLS_START | # define MOWGLI_DECLS_START | |||
# define MOWGLI_DECLS_END | # define MOWGLI_DECLS_END | |||
#endif | #endif | |||
#ifdef MOWGLI_CORE | #ifdef MOWGLI_CORE | |||
# include "win32_support.h" | # include "platform/autoconf.h" | |||
# include "mowgli_config.h" | ||||
#endif | #endif | |||
#include "mowgli_stdinc.h" | #include "core/stdinc.h" | |||
MOWGLI_DECLS_START | MOWGLI_DECLS_START | |||
#include "mowgli_logger.h" | #include "platform/constructor.h" | |||
#include "mowgli_assert.h" | #include "platform/machine.h" | |||
#include "mowgli_exception.h" | ||||
#include "mowgli_iterator.h" | ||||
#include "mowgli_alloc.h" | #include "core/logger.h" | |||
#include "mowgli_spinlock.h" | #include "core/assert.h" | |||
#include "mowgli_list.h" | #include "core/exception.h" | |||
#include "mowgli_object_class.h" | #include "core/iterator.h" | |||
#include "mowgli_object.h" | ||||
#include "mowgli_allocation_policy.h" | #include "container/list.h" | |||
#include "mowgli_dictionary.h" | #include "object/class.h" | |||
#include "mowgli_patricia.h" | #include "object/object.h" | |||
#include "mowgli_mempool.h" | ||||
#include "mowgli_module.h" | #include "core/allocation_policy.h" | |||
#include "mowgli_queue.h" | #include "core/alloc.h" | |||
#include "mowgli_hash.h" | ||||
#include "mowgli_heap.h" | #include "container/dictionary.h" | |||
#include "mowgli_init.h" | ||||
#include "mowgli_bitvector.h" | #include "thread/thread.h" | |||
#include "mowgli_hook.h" | #include "thread/mutex.h" | |||
#include "mowgli_signal.h" | ||||
#include "mowgli_error_backtrace.h" | #include "base/memslice.h" | |||
#include "mowgli_random.h" | #include "container/patricia.h" | |||
#include "mowgli_ioevent.h" | #include "module/module.h" | |||
#include "mowgli_argstack.h" | #include "container/queue.h" | |||
#include "mowgli_object_messaging.h" | #include "base/hash.h" | |||
#include "mowgli_object_metadata.h" | #include "core/heap.h" | |||
#include "mowgli_global_storage.h" | #include "core/bootstrap.h" | |||
#include "mowgli_string.h" | #include "base/bitvector.h" | |||
#include "mowgli_allocator.h" | #include "base/hook.h" | |||
#include "mowgli_formatter.h" | #include "base/mowgli_signal.h" | |||
#include "mowgli_index.h" | #include "ext/proctitle.h" | |||
#include "ext/error_backtrace.h" | ||||
#include "base/random.h" | ||||
#include "base/argstack.h" | ||||
#include "object/message.h" | ||||
#include "object/metadata.h" | ||||
#include "ext/global_storage.h" | ||||
#include "core/process.h" | ||||
#include "eventloop/eventloop.h" | ||||
#include "vio/vio.h" | ||||
#include "core/mowgli_string.h" | ||||
#include "core/allocator.h" | ||||
#include "base/formatter.h" | ||||
#include "container/index.h" | ||||
#include "ext/confparse.h" | ||||
#include "ext/program_opts.h" | ||||
#include "linebuf/linebuf.h" | ||||
#include "dns/dns.h" | ||||
MOWGLI_DECLS_END | MOWGLI_DECLS_END | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
35 lines changed or deleted | 51 lines changed or added | |||
mowgli_signal.h | mowgli_signal.h | |||
---|---|---|---|---|
/* | /* | |||
* libmowgli: A collection of useful routines for programming. | * libmowgli: A collection of useful routines for programming. | |||
* mowgli_signal.c: Safe signal handling. | * mowgli_signal.h: Safe signal handling. | |||
* | * | |||
* Copyright (c) 2007 William Pitcock <nenolod -at- sacredspiral.co.uk> | * Copyright (c) 2007 William Pitcock <nenolod -at- sacredspiral.co.uk> | |||
* | * | |||
* Permission to use, copy, modify, and/or distribute this software for any | * Permission to use, copy, modify, and/or distribute this software for any | |||
* purpose with or without fee is hereby granted, provided that the above | * purpose with or without fee is hereby granted, provided that the above | |||
* copyright notice and this permission notice is present in all copies. | * copyright notice and this permission notice is present in all copies. | |||
* | * | |||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
mowgli_string.h | mowgli_string.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
} 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_strlcat(char *dest, const char *src, size_t count); | |||
extern size_t mowgli_strlcpy(char *dest, const char *src, size_t count); | extern size_t mowgli_strlcpy(char *dest, const char *src, size_t count); | |||
extern ssize_t mowgli_writef(mowgli_descriptor_t fd, const char *fmt, ...); | ||||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||