"Fossies" - the Fresh Open Source Software Archive

Member "rgdbm-2.1.42/sock.h" (21 Jun 2007, 454 Bytes) of package /linux/privat/old/rgdbm-2.1.42.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "sock.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef SOCK_H
    2 #define SOCK_H 1
    3 
    4 #define SOCK_CAPATH   "/etc/ssl/certs"
    5 #define SOCK_CERT_FILE \
    6         SOCK_CAPATH   "/" "gdbmd.crt" \
    7         ":" \
    8         GDBMD_CERTDIR "/" "gdbmd.crt"
    9 
   10 enum {
   11     SOCK_CLIENT,
   12     SOCK_SERVER,
   13 };
   14 
   15 //int ssl_connect (struct io_ctx *ctx);
   16 //int ssl_accept (struct io_ctx *ctx);
   17 
   18 //int sock_connect (struct io_ctx *ctx);
   19 //int sock_accept (struct io_ctx *ctx);
   20 struct io_ctx *new_io_ctx(int sock);
   21 #endif /* SOCK_H */
   22