summaryrefslogtreecommitdiff
path: root/src/webserver/doc
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-12-12 22:40:37 -0800
committerBen Longbons <b.r.longbons@gmail.com>2012-12-12 22:43:10 -0800
commitf9563edf69f083287630f4b17db70d97524196d6 (patch)
tree495a75932bf493c4a2afb94f924e3efde4ea70a8 /src/webserver/doc
parent608f959900968e83fd25231c72308fc608742dd5 (diff)
downloadtmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.gz
tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.bz2
tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.xz
tmwa-f9563edf69f083287630f4b17db70d97524196d6.zip
Delete old tools
If there was anything you actually used, tell me.
Diffstat (limited to 'src/webserver/doc')
-rw-r--r--src/webserver/doc/API.txt50
-rw-r--r--src/webserver/doc/README11
2 files changed, 0 insertions, 61 deletions
diff --git a/src/webserver/doc/API.txt b/src/webserver/doc/API.txt
deleted file mode 100644
index c80f7bd..0000000
--- a/src/webserver/doc/API.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-Here's the webserver API, so you can work on the webserver.
-
-My personal goal is to make this interface simple, so that coding it
-will be like coding in some scripting language...
-
-
-
-char *get_param(char in_string[500], char swhat[500]);
-
-This function simply returns various data from the query string.
- *Pass get_param NOTHING longer than 500 in length!
-
- What do I pass where in_string is?
- The query string.
-
- What do I pass where swhat is?
- One of two things...
- Either 0 for the path of the 'page'
- or you can pass it the param you wish to lookup.
-
-
-
-
-
-
-char *get_query(char *inquery);
-
-This function simply returns a query string from the raw server request.
-This is used once in main, I doubt you'll need it.
-
-
-
-
-
-void web_send(int sockin, char *in_data);
-
-Super easy way of sending data to a webpage!
-Simply put in the socket name and then the data.
-
- Ex:
- web_send(socket, "I like cheese!\n");
-
-
-
-
-char *html_header(char* title);
-Easy way to print the eAthena header for the server.
-
- Ex:
- web_send(sockethere, html_header("About"));
diff --git a/src/webserver/doc/README b/src/webserver/doc/README
deleted file mode 100644
index 0e94ff2..0000000
--- a/src/webserver/doc/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This readme is intended for the programmers of eAthena.
-
-This webserver's apis are in API.txt.
-
-To make this simple, generate.c should handle most of the work this sever does
-in terms of what people see.
-
-When a request is made the server shoots it off to generate.c.
-
-You are welcome to create more functions used by generate.c to generate pages
-though, so don't feel limited by that one file.