Changeset 43 in Main for trunk/Server/tw_http.h


Ignore:
Timestamp:
Sep 18, 2024, 6:19:03 PM (2 months ago)
Author:
Nishi
Message:

add NO_SSL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_http.h

    r32 r43  
    55
    66#include <stdbool.h>
     7
     8#include "../config.h"
    79
    810struct tw_http_request {
     
    2224
    2325#ifdef SOURCE
     26#ifndef NO_SSL
    2427#include <openssl/ssl.h>
     28#endif
    2529void tw_free_request(struct tw_http_request* req);
     30#ifndef NO_SSL
    2631int tw_http_parse(SSL* ssl, int sock, struct tw_http_request* req);
     32#else
     33int tw_http_parse(void* ssl, int sock, struct tw_http_request* req);
     34#endif
    2735#endif
    2836
Note: See TracChangeset for help on using the changeset viewer.