Changeset 25
- Timestamp:
- 03/13/04 23:34:52 (5 years ago)
- Files:
-
- branches/incorporate_libhttpd/wifidog/src/common.h (modified) (2 diffs)
- branches/incorporate_libhttpd/wifidog/src/gateway.c (modified) (1 diff)
- branches/incorporate_libhttpd/wifidog/src/http.c (modified) (1 diff)
- branches/incorporate_libhttpd/wifidog/src/http.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/incorporate_libhttpd/wifidog/src/common.h
r22 r25 44 44 #include <errno.h> 45 45 46 #include "httpd.h" 47 46 48 #include "gateway.h" 47 49 #include "conf.h" … … 53 55 #include "centralserver.h" 54 56 55 #include "httpd.h"56 57 57 #define MAX_BUF 4096 58 58 branches/incorporate_libhttpd/wifidog/src/gateway.c
r24 r25 47 47 exit(1); 48 48 } 49 debug(D_LOG_DEBUG, "Assigning callbacks to web server"); 50 httpdAddCContent(webserver, "/", "about", 0, NULL, http_callback_about); 49 51 50 52 // Init the signals to catch chld/quit/etc branches/incorporate_libhttpd/wifidog/src/http.c
r22 r25 195 195 } 196 196 197 void http_callback_about(httpd * webserver) 198 { 199 httpdOutput(webserver, "<html><body><h1>About:</h1>"); 200 httpdOutput(webserver, "This is WiFiDog. Copyright (C) 2004 and released under the GNU GPL license."); 201 httpdOutput(webserver, "<p>"); 202 httpdOutput(webserver, "For more information visit <a href='http://www.ilesansfil.org/wiki/WiFiDog'>http://www.ilesansfil.org/wiki/WiFiDog</a>"); 203 httpdOutput(webserver, "</body></html>"); 204 } 205 branches/incorporate_libhttpd/wifidog/src/http.h
r22 r25 34 34 char *gmtdate(); 35 35 36 void http_callback_about(httpd * webserver); 37 36 38 #endif /* _HTTP_H_ */
