Rename four internal headers to follow the -internal.h convention.

svn:r1000
This commit is contained in:
Nick Mathewson 2009-01-13 20:26:37 +00:00
parent 822ca048ad
commit 169321c9e6
28 changed files with 41 additions and 41 deletions

View File

@ -102,7 +102,7 @@ noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
evrpc-internal.h strlcpy-internal.h evbuffer-internal.h \ evrpc-internal.h strlcpy-internal.h evbuffer-internal.h \
bufferevent-internal.h http-internal.h event-internal.h \ bufferevent-internal.h http-internal.h event-internal.h \
evthread-internal.h \ evthread-internal.h \
min_heap.h log.h evsignal.h evmap.h minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h
include_HEADERS = event.h evhttp.h evdns.h evrpc.h evutil.h event-config.h include_HEADERS = event.h evhttp.h evdns.h evrpc.h evutil.h event-config.h

View File

@ -45,10 +45,10 @@
#define RB_AUGMENT(x) (void)(x) #define RB_AUGMENT(x) (void)(x)
#include "./tree.h" #include "./tree.h"
#include "log.h" #include "log-internal.h"
#include "event.h" #include "event.h"
#include "event-internal.h" #include "event-internal.h"
#include "evmap.h" #include "evmap-inernal.h"
#define XFREE(ptr) do { if (ptr) mm_free(ptr); } while(0) #define XFREE(ptr) do { if (ptr) mm_free(ptr); } while(0)

View File

@ -68,7 +68,7 @@
#include "event2/event.h" #include "event2/event.h"
#include "event2/buffer.h" #include "event2/buffer.h"
#include "config.h" #include "config.h"
#include "log.h" #include "log-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
#include "evbuffer-internal.h" #include "evbuffer-internal.h"

View File

@ -53,7 +53,7 @@
#include "event2/buffer.h" #include "event2/buffer.h"
#include "event2/bufferevent_struct.h" #include "event2/bufferevent_struct.h"
#include "event2/event.h" #include "event2/event.h"
#include "log.h" #include "log-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
#include "bufferevent-internal.h" #include "bufferevent-internal.h"
#include "util-internal.h" #include "util-internal.h"

View File

@ -49,9 +49,9 @@
#include "event2/event.h" #include "event2/event.h"
#include "event2/event_struct.h" #include "event2/event_struct.h"
#include "event-internal.h" #include "event-internal.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
struct devpollop { struct devpollop {
struct pollfd *events; struct pollfd *events;

View File

@ -49,9 +49,9 @@
#endif #endif
#include "event-internal.h" #include "event-internal.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
struct epollop { struct epollop {
struct epoll_event *events; struct epoll_event *events;

View File

@ -101,7 +101,7 @@
#include "evdns.h" #include "evdns.h"
#include "evutil.h" #include "evutil.h"
#include "log.h" #include "log-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
#include "strlcpy-internal.h" #include "strlcpy-internal.h"
#include "ipv6-internal.h" #include "ipv6-internal.h"

View File

@ -32,8 +32,8 @@ extern "C" {
#endif #endif
#include "config.h" #include "config.h"
#include "min_heap.h" #include "minheap-internal.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
/* map union members back */ /* map union members back */

View File

@ -65,8 +65,8 @@
#include "evthread-internal.h" #include "evthread-internal.h"
#include "event2/thread.h" #include "event2/thread.h"
#include "event2/util.h" #include "event2/util.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
#ifdef HAVE_EVENT_PORTS #ifdef HAVE_EVENT_PORTS
extern const struct eventop evportops; extern const struct eventop evportops;

View File

@ -64,7 +64,7 @@
#include "event2/event.h" #include "event2/event.h"
#include "event2/tag.h" #include "event2/tag.h"
#include "event2/buffer.h" #include "event2/buffer.h"
#include "log.h" #include "log-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf); int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);

View File

@ -27,7 +27,7 @@
#ifndef _EVMAP_H_ #ifndef _EVMAP_H_
#define _EVMAP_H_ #define _EVMAP_H_
/** @file evmap.h /** @file evmap-internal.h
* *
* An event_map is a utility structure to map each fd or signal to zero or * An event_map is a utility structure to map each fd or signal to zero or
* more events. Functions to manipulate event_maps should only be used from * more events. Functions to manipulate event_maps should only be used from

View File

@ -53,7 +53,7 @@
#include <time.h> #include <time.h>
#include "event-internal.h" #include "event-internal.h"
#include "evmap.h" #include "evmap-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
/** An entry for an evmap_io list: notes all the events that want to read or /** An entry for an evmap_io list: notes all the events that want to read or

View File

@ -71,9 +71,9 @@
#endif #endif
#include "event-internal.h" #include "event-internal.h"
#include "log.h" #include "log-internal.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "evmap.h" #include "evmap-internal.h"
/* /*
* Default value for ed_nevents, which is the maximum file descriptor number we * Default value for ed_nevents, which is the maximum file descriptor number we

View File

@ -63,7 +63,7 @@
#include "event2/http_struct.h" #include "event2/http_struct.h"
#include "event2/http_compat.h" #include "event2/http_compat.h"
#include "evutil.h" #include "evutil.h"
#include "log.h" #include "log-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
struct evrpc_base * struct evrpc_base *

View File

@ -65,7 +65,7 @@
#endif #endif
#include "event2/util.h" #include "event2/util.h"
#include "log.h" #include "log-internal.h"
#include "strlcpy-internal.h" #include "strlcpy-internal.h"
#include "ipv6-internal.h" #include "ipv6-internal.h"

2
http.c
View File

@ -91,7 +91,7 @@
#include "event2/http_struct.h" #include "event2/http_struct.h"
#include "event2/http_compat.h" #include "event2/http_compat.h"
#include "event2/util.h" #include "event2/util.h"
#include "log.h" #include "log-internal.h"
#include "http-internal.h" #include "http-internal.h"
#include "mm-internal.h" #include "mm-internal.h"
#include "util-internal.h" #include "util-internal.h"

View File

@ -59,8 +59,8 @@
#endif #endif
#include "event-internal.h" #include "event-internal.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
#define NEVENT 64 #define NEVENT 64

2
log.c
View File

@ -60,7 +60,7 @@
#include "event2/event.h" #include "event2/event.h"
#include "event2/util.h" #include "event2/util.h"
#include "log.h" #include "log-internal.h"
static void _warn_helper(int severity, const char *errstr, const char *fmt, static void _warn_helper(int severity, const char *errstr, const char *fmt,
va_list ap); va_list ap);

6
poll.c
View File

@ -47,9 +47,9 @@
#include <assert.h> #include <assert.h>
#include "event-internal.h" #include "event-internal.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
struct pollop { struct pollop {
int event_count; /* Highest number alloc */ int event_count; /* Highest number alloc */

View File

@ -49,9 +49,9 @@
#include <assert.h> #include <assert.h>
#include "event-internal.h" #include "event-internal.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
#ifndef howmany #ifndef howmany
#define howmany(x, y) (((x)+((y)-1))/(y)) #define howmany(x, y) (((x)+((y)-1))/(y))

View File

@ -61,9 +61,9 @@
#include "event2/event_struct.h" #include "event2/event_struct.h"
#include "event-internal.h" #include "event-internal.h"
#include "event2/util.h" #include "event2/util.h"
#include "evsignal.h" #include "evsignal-internal.h"
#include "log.h" #include "log-internal.h"
#include "evmap.h" #include "evmap-internal.h"
static int evsig_add(struct event_base *, int, short, short); static int evsig_add(struct event_base *, int, short, short);
static int evsig_del(struct event_base *, int, short, short); static int evsig_del(struct event_base *, int, short, short);

View File

@ -65,7 +65,7 @@
#include "event2/util.h" #include "event2/util.h"
#include "event-internal.h" #include "event-internal.h"
#include "evbuffer-internal.h" #include "evbuffer-internal.h"
#include "log.h" #include "log-internal.h"
#include "regress.h" #include "regress.h"

View File

@ -62,7 +62,7 @@
#include "event2/event.h" #include "event2/event.h"
#include "event2/event_compat.h" #include "event2/event_compat.h"
#include "evdns.h" #include "evdns.h"
#include "log.h" #include "log-internal.h"
static int dns_ok = 0; static int dns_ok = 0;
static int dns_err = 0; static int dns_err = 0;

View File

@ -54,7 +54,7 @@
#include "event.h" #include "event.h"
#include "evhttp.h" #include "evhttp.h"
#include "log.h" #include "log-internal.h"
#include "http-internal.h" #include "http-internal.h"
extern int pair[]; extern int pair[];

View File

@ -55,7 +55,7 @@
#include "event2/event.h" #include "event2/event.h"
#include "evhttp.h" #include "evhttp.h"
#include "log.h" #include "log-internal.h"
#include "evrpc.h" #include "evrpc.h"
#include "regress.gen.h" #include "regress.gen.h"