diff options
author | gennyble <gen@nyble.dev> | 2025-04-02 06:53:54 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2025-04-02 07:35:20 -0500 |
commit | 10925e207a28635e207459c5b78581385c9dbe9e (patch) | |
tree | ed04e75f6df7048c3a4cd345c75045234ba6332a /smalldog | |
parent | 545a33aac755ede43e2509d0492851765d3fd832 (diff) | |
download | corgi-10925e207a28635e207459c5b78581385c9dbe9e.tar.gz corgi-10925e207a28635e207459c5b78581385c9dbe9e.zip |
remember to remove old ffi structs in corgi when using smalldog
Diffstat (limited to 'smalldog')
-rw-r--r-- | smalldog/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smalldog/README.md b/smalldog/README.md index 87d3416..2505f5f 100644 --- a/smalldog/README.md +++ b/smalldog/README.md @@ -33,11 +33,11 @@ struct response { as well as that, there are two functions that corgi expects to exist and will call. -`struct response *handle(struct request*);` +`struct response *cgi_handle(struct request*);` this function is called after the module is loaded. here you should process the request and send back a response. be sure to keep track of any allocations so you can clean them up later. -`void cleanup(struct response*);` +`void cgi_cleanup(struct response*);` this is where you clean up, later. function is called after corgi copies all required data to an internal structure. free memory here. \ No newline at end of file |