summaryrefslogtreecommitdiff
path: root/webserver/doc/API.txt
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-21 06:03:14 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-21 06:03:14 +0000
commit46537ce9ceba2bdc9a375a4ace120b8db7584631 (patch)
treeef2749526679b0d79d6d37a008ea8b6b140baf03 /webserver/doc/API.txt
parent2c850ca9e7195ca46674f5c63b48792c837c5b3a (diff)
downloadhercules-46537ce9ceba2bdc9a375a4ace120b8db7584631.tar.gz
hercules-46537ce9ceba2bdc9a375a4ace120b8db7584631.tar.bz2
hercules-46537ce9ceba2bdc9a375a4ace120b8db7584631.tar.xz
hercules-46537ce9ceba2bdc9a375a4ace120b8db7584631.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1259 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'webserver/doc/API.txt')
-rw-r--r--webserver/doc/API.txt50
1 files changed, 0 insertions, 50 deletions
diff --git a/webserver/doc/API.txt b/webserver/doc/API.txt
deleted file mode 100644
index c80f7bd44..000000000
--- a/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"));