Changeset 40 in Main for trunk/Module/mod_example.c


Ignore:
Timestamp:
Sep 17, 2024, 9:31:08 PM (2 months ago)
Author:
Nishi
Message:

use dll for windows build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Module/mod_example.c

    r20 r40  
    11/* $Id$ */
     2/* This module will accept all directives, and always return 403 on the access. */
    23
    34#include "../Server/tw_module.h"
     
    910}
    1011
     12int mod_config(struct tw_tool* tools, char** argv, int argc) { return TW_CONFIG_PARSED; }
     13
    1114int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_ERROR(403); }
Note: See TracChangeset for help on using the changeset viewer.