Changeset 171d8ed2238b758bd302a0bb23cd0aeeabc50b33

Show
Ignore:
Timestamp:
03/02/08 16:06:13 (7 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1204473973 +0000
git-parent:

[a7304b5c52e33dfefad9852596a92dc99ff37669]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1204473973 +0000
Message:

make eventer.h one-stop-shopping

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/eventer/eventer.c

    r1d69a01 r171d8ed  
    11#define _EVENTER_C_ 
    22#include "eventer/eventer.h" 
    3 #include "eventer/eventer_impl.h" 
    4 #include "eventer/eventer_POSIX_fd_opset.h" 
    53#include "utils/noit_hash.h" 
    64 
  • src/eventer/eventer.h

    rb7ec807 r171d8ed  
    9797#define eventer_loop          __eventer->loop 
    9898 
     99extern eventer_impl_t registered_eventers[]; 
     100 
     101#include "eventer/eventer_jobq.h" 
     102 
     103int eventer_impl_propset(const char *key, const char *value); 
     104int eventer_impl_init(); 
     105void eventer_add_asynch(eventer_jobq_t *q, eventer_t e); 
     106void eventer_dispatch_recurrent(struct timeval *now); 
     107eventer_t eventer_remove_recurrent(eventer_t e); 
     108void eventer_add_recurrent(eventer_t e); 
     109 
    99110#endif 
  • src/eventer/eventer_impl.c

    rb7ec807 r171d8ed  
    66#include "noit_defines.h" 
    77#include "eventer/eventer.h" 
    8 #include "eventer/eventer_impl.h" 
    9 #include "eventer/eventer_jobq.h" 
    108#include "utils/noit_log.h" 
    119#include <pthread.h> 
  • src/eventer/eventer_jobq.c

    rb7510b4 r171d8ed  
    77#include "utils/noit_log.h" 
    88#include "utils/noit_atomic.h" 
    9 #include "eventer/eventer_jobq.h" 
     9#include "eventer/eventer.h" 
    1010#include <errno.h> 
    1111#include <setjmp.h> 
  • src/eventer/eventer_kqueue_impl.c

    r3b3b432 r171d8ed  
    99#include "utils/noit_skiplist.h" 
    1010#include "utils/noit_log.h" 
    11 #include "eventer/eventer_impl.h" 
    1211 
    1312#include <errno.h>