Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbsheng/tinyhttpd
/ functions
Functions
18 in github.com/cbsheng/tinyhttpd
⨍
Functions
18
◇
Types & classes
13
↓ 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:377
↓ 5 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:231
↓ 3 callers
Function
cannot_execute
/ Inform the client that a CGI script could not be executed. * Parameter: the client socket descriptor. */ /
httpd.c:212
↓ 2 callers
Function
not_found
/ Give a client a 404 not found status message. */ /
httpd.c:435
↓ 1 callers
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:58
↓ 1 callers
Function
bad_request
/ Inform the client that a request it has made has a problem. * Parameters: client socket */ /
httpd.c:172
↓ 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:195
↓ 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:244
↓ 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:417
↓ 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:466
↓ 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:501
↓ 1 callers
Function
unimplemented
/ Inform the client that the requested web method has not been * implemented. * Parameter: the client socket */ /
httpd.c:549
Function
main
simpleclient.c:8
Function
main
httpd.c:573
Function
main
example/UDPserver.cpp:8
Function
main
example/echoserver.cpp:12
Function
main
example/UDPclient.cpp:8
Function
main
example/echoclient.cpp:9