about summary refs log tree commit diff
path: root/smalldog/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'smalldog/README.md')
-rw-r--r--smalldog/README.md4
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