Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EZLippi/Tinyhttpd
/ functions
Functions
14 in github.com/EZLippi/Tinyhttpd
⨍
Functions
14
◇
Types & classes
5
↓ 6 callers
Function
error_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 callers
Function
get_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 callers
Function
cannot_execute
/ Inform the client that a CGI script could not be executed. * Parameter: the client socket descriptor. */ /
httpd.c:179
↓ 2 callers
Function
not_found
/ Give a client a 404 not found status message. */ /
httpd.c:369
↓ 1 callers
Function
bad_request
/ Inform the client that a request it has made has a problem. * Parameters: client socket */ /
httpd.c:140
↓ 1 callers
Function
cat
/ 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 callers
Function
execute_cgi
/ Execute a CGI script. Will need to set environment variables as * appropriate. * Parameters: client socket descriptor * path to the
httpd.c:210
↓ 1 callers
Function
headers
/ 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 callers
Function
serve_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 callers
Function
startup
/ 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 callers
Function
unimplemented
/ Inform the client that the requested web method has not been * implemented. * Parameter: the client socket */ /
httpd.c:465
Function
accept_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
Function
main
simpleclient.c:8
Function
main
httpd.c:489