MCPcopy Create free account

hub / github.com/EZLippi/Tinyhttpd / functions

Functions14 in github.com/EZLippi/Tinyhttpd

↓ 6 callersFunctionerror_die
/ Print out an error message with perror() (for system errors; based * on value of errno, which indicates system call errors) and exit the * program
httpd.c:198
↓ 6 callersFunctionget_line
/ Get a line from a socket, whether the line ends in a newline, * carriage return, or a CRLF combination. Terminates the string read * with a null
httpd.c:314
↓ 3 callersFunctioncannot_execute
/ Inform the client that a CGI script could not be executed. * Parameter: the client socket descriptor. */ /
httpd.c:179
↓ 2 callersFunctionnot_found
/ Give a client a 404 not found status message. */ /
httpd.c:369
↓ 1 callersFunctionbad_request
/ Inform the client that a request it has made has a problem. * Parameters: client socket */ /
httpd.c:140
↓ 1 callersFunctioncat
/ Put the entire contents of a file out on a socket. This function * is named after the UNIX "cat" command, because it might have been * easier jus
httpd.c:163
↓ 1 callersFunctionexecute_cgi
/ Execute a CGI script. Will need to set environment variables as * appropriate. * Parameters: client socket descriptor * path to the
httpd.c:210
↓ 1 callersFunctionheaders
/ Return the informational HTTP headers about a file. */ Parameters: the socket to print the headers on * the name of the file */ /
httpd.c:351
↓ 1 callersFunctionserve_file
/ Send a regular file to the client. Use headers, and report * errors to client if they occur. * Parameters: a pointer to a file structure produced
httpd.c:400
↓ 1 callersFunctionstartup
/ This function starts the process of listening for web connections * on a specified port. If the port is 0, then dynamically allocate a * port and
httpd.c:429
↓ 1 callersFunctionunimplemented
/ Inform the client that the requested web method has not been * implemented. * Parameter: the client socket */ /
httpd.c:465
Functionaccept_request
/ A request has caused a call to accept() on the server port to * return. Process the request appropriately. * Parameters: the socket connected to
httpd.c:55
Functionmain
simpleclient.c:8
Functionmain
httpd.c:489