1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-10 14:23:00 +03:00

Fixed httplib_cry documentation

This commit is contained in:
Lammert Bies
2016-12-26 19:27:24 +01:00
parent 8118c908eb
commit ab7b063485
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ LibHTTP is often used as HTTP and HTTPS library inside a larger application. A
### System Functions
* [`httplib_check_feature( feature );`](api/httplib_check_feature.md)
* [`httplib_cry( conn, fmt, ... );`](api/httplib_cry.md)
* [`httplib_cry( ctx, conn, fmt, ... );`](api/httplib_cry.md)
* [`httplib_get_context( conn );`](api/httplib_get_context.md)
* [`httplib_get_builtin_mime_type( file_name );`](api/httplib_get_builtin_mime_type.md)
* [`httplib_get_option( ctx, name );`](api/httplib_get_option.md)

View File

@@ -1,12 +1,13 @@
# LibHTTP API Reference
### `httplib_cry( conn, fmt, ... );`
### `httplib_cry( ctx, conn, fmt, ... );`
### Parameters
| Parameter | Type | Description |
| :--- | :--- | :--- |
|**`conn`**|`const struct httplib_connection *`|The connection on which a problem occured|
|**`ctx`**|`const struct httplib_context *`|The context where the problem occured|
|**`conn`**|`const struct httplib_connection *`|The connection on which a problem occured, or NULL for a connection independent error|
|**`fmt`**|`const char *`|Format string without a line return|
|**`...`**|*various*|Parameters depending on the format string|