Show
Ignore:
Timestamp:
02/21/08 20:39:44 (11 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1203626384 +0000
git-parent:

[b7d1fe90ade5801d7ff5a7292a5b81478def06b2]

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

SSL support that doesn't quite work -- so so so close.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_listener.h

    rcaa7b86 rb7ec807  
    99#include "noit_defines.h" 
    1010#include "eventer/eventer.h" 
     11#include "utils/noit_hash.h" 
     12 
     13typedef struct { 
     14  noit_hash_table *config; 
     15  void *service_ctx; 
     16} acceptor_closure_t; 
    1117 
    1218typedef struct { 
     
    1420  unsigned short port; 
    1521  eventer_func_t dispatch_callback; 
    16   void *dispatch_closure; 
     22  acceptor_closure_t *dispatch_closure; 
     23  noit_hash_table *sslconfig; 
    1724} * listener_closure_t; 
    1825 
     
    2128API_EXPORT(int) 
    2229noit_listener(char *host, unsigned short port, int type, 
    23               int backlog, eventer_func_t handler, void *closure); 
     30              int backlog, noit_hash_table *sslconfig, 
     31              noit_hash_table *config, 
     32              eventer_func_t handler, void *service_ctx); 
    2433 
    2534#endif