Skip to content

Commit

Permalink
Rename four internal headers to follow the -internal.h convention.
Browse files Browse the repository at this point in the history
svn:r1000
  • Loading branch information
nmathewson committed Jan 13, 2009
1 parent 822ca04 commit 169321c
Show file tree
Hide file tree
Showing 28 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
evrpc-internal.h strlcpy-internal.h evbuffer-internal.h \
bufferevent-internal.h http-internal.h event-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

Expand Down
4 changes: 2 additions & 2 deletions WIN32-Code/win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@

#define RB_AUGMENT(x) (void)(x)
#include "./tree.h"
#include "log.h"
#include "log-internal.h"
#include "event.h"
#include "event-internal.h"
#include "evmap.h"
#include "evmap-inernal.h"

#define XFREE(ptr) do { if (ptr) mm_free(ptr); } while(0)

Expand Down
2 changes: 1 addition & 1 deletion buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#include "event2/event.h"
#include "event2/buffer.h"
#include "config.h"
#include "log.h"
#include "log-internal.h"
#include "mm-internal.h"
#include "evbuffer-internal.h"

Expand Down
2 changes: 1 addition & 1 deletion bufferevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include "event2/buffer.h"
#include "event2/bufferevent_struct.h"
#include "event2/event.h"
#include "log.h"
#include "log-internal.h"
#include "mm-internal.h"
#include "bufferevent-internal.h"
#include "util-internal.h"
Expand Down
6 changes: 3 additions & 3 deletions devpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
#include "event2/event.h"
#include "event2/event_struct.h"
#include "event-internal.h"
#include "evsignal.h"
#include "log.h"
#include "evmap.h"
#include "evsignal-internal.h"
#include "log-internal.h"
#include "evmap-internal.h"

struct devpollop {
struct pollfd *events;
Expand Down
6 changes: 3 additions & 3 deletions epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
#endif

#include "event-internal.h"
#include "evsignal.h"
#include "log.h"
#include "evmap.h"
#include "evsignal-internal.h"
#include "log-internal.h"
#include "evmap-internal.h"

struct epollop {
struct epoll_event *events;
Expand Down
2 changes: 1 addition & 1 deletion evdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

#include "evdns.h"
#include "evutil.h"
#include "log.h"
#include "log-internal.h"
#include "mm-internal.h"
#include "strlcpy-internal.h"
#include "ipv6-internal.h"
Expand Down
4 changes: 2 additions & 2 deletions event-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ extern "C" {
#endif

#include "config.h"
#include "min_heap.h"
#include "evsignal.h"
#include "minheap-internal.h"
#include "evsignal-internal.h"
#include "mm-internal.h"

/* map union members back */
Expand Down
4 changes: 2 additions & 2 deletions event.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
#include "evthread-internal.h"
#include "event2/thread.h"
#include "event2/util.h"
#include "log.h"
#include "evmap.h"
#include "log-internal.h"
#include "evmap-internal.h"

#ifdef HAVE_EVENT_PORTS
extern const struct eventop evportops;
Expand Down
2 changes: 1 addition & 1 deletion event_tagging.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#include "event2/event.h"
#include "event2/tag.h"
#include "event2/buffer.h"
#include "log.h"
#include "log-internal.h"
#include "mm-internal.h"

int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);
Expand Down
2 changes: 1 addition & 1 deletion evmap.h → evmap-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#ifndef _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
* more events. Functions to manipulate event_maps should only be used from
Expand Down
2 changes: 1 addition & 1 deletion evmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include <time.h>

#include "event-internal.h"
#include "evmap.h"
#include "evmap-internal.h"
#include "mm-internal.h"

/** An entry for an evmap_io list: notes all the events that want to read or
Expand Down
6 changes: 3 additions & 3 deletions evport.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
#endif

#include "event-internal.h"
#include "log.h"
#include "evsignal.h"
#include "evmap.h"
#include "log-internal.h"
#include "evsignal-internal.h"
#include "evmap-internal.h"

/*
* Default value for ed_nevents, which is the maximum file descriptor number we
Expand Down
2 changes: 1 addition & 1 deletion evrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#include "event2/http_struct.h"
#include "event2/http_compat.h"
#include "evutil.h"
#include "log.h"
#include "log-internal.h"
#include "mm-internal.h"

struct evrpc_base *
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion evutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#endif

#include "event2/util.h"
#include "log.h"
#include "log-internal.h"

#include "strlcpy-internal.h"
#include "ipv6-internal.h"
Expand Down
2 changes: 1 addition & 1 deletion http.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
#include "event2/http_struct.h"
#include "event2/http_compat.h"
#include "event2/util.h"
#include "log.h"
#include "log-internal.h"
#include "http-internal.h"
#include "mm-internal.h"
#include "util-internal.h"
Expand Down
4 changes: 2 additions & 2 deletions kqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
#endif

#include "event-internal.h"
#include "log.h"
#include "evmap.h"
#include "log-internal.h"
#include "evmap-internal.h"

#define NEVENT 64

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion log.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include "event2/event.h"
#include "event2/util.h"

#include "log.h"
#include "log-internal.h"

static void _warn_helper(int severity, const char *errstr, const char *fmt,
va_list ap);
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions poll.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
#include <assert.h>

#include "event-internal.h"
#include "evsignal.h"
#include "log.h"
#include "evmap.h"
#include "evsignal-internal.h"
#include "log-internal.h"
#include "evmap-internal.h"

struct pollop {
int event_count; /* Highest number alloc */
Expand Down
6 changes: 3 additions & 3 deletions select.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
#include <assert.h>

#include "event-internal.h"
#include "evsignal.h"
#include "log.h"
#include "evmap.h"
#include "evsignal-internal.h"
#include "log-internal.h"
#include "evmap-internal.h"

#ifndef howmany
#define howmany(x, y) (((x)+((y)-1))/(y))
Expand Down
6 changes: 3 additions & 3 deletions signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
#include "event2/event_struct.h"
#include "event-internal.h"
#include "event2/util.h"
#include "evsignal.h"
#include "log.h"
#include "evmap.h"
#include "evsignal-internal.h"
#include "log-internal.h"
#include "evmap-internal.h"

static int evsig_add(struct event_base *, int, short, short);
static int evsig_del(struct event_base *, int, short, short);
Expand Down
2 changes: 1 addition & 1 deletion test/regress.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#include "event2/util.h"
#include "event-internal.h"
#include "evbuffer-internal.h"
#include "log.h"
#include "log-internal.h"

#include "regress.h"

Expand Down
2 changes: 1 addition & 1 deletion test/regress_dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include "event2/event.h"
#include "event2/event_compat.h"
#include "evdns.h"
#include "log.h"
#include "log-internal.h"

static int dns_ok = 0;
static int dns_err = 0;
Expand Down
2 changes: 1 addition & 1 deletion test/regress_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

#include "event.h"
#include "evhttp.h"
#include "log.h"
#include "log-internal.h"
#include "http-internal.h"

extern int pair[];
Expand Down
2 changes: 1 addition & 1 deletion test/regress_rpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

#include "event2/event.h"
#include "evhttp.h"
#include "log.h"
#include "log-internal.h"
#include "evrpc.h"

#include "regress.gen.h"
Expand Down

0 comments on commit 169321c

Please sign in to comment.