mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
doxygen
This commit is contained in:
parent
4084616ae8
commit
bf16028740
3 changed files with 15 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
doc/
|
||||
.config
|
||||
~$*
|
||||
.DS_Store
|
||||
|
|
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
.PHONY: doc
|
||||
|
||||
doc:
|
||||
doxygen
|
|
@ -21,7 +21,7 @@ enum PSYC_Types {
|
|||
|
||||
enum PSYC_Flags
|
||||
{
|
||||
PSYC_HEADER_ONLY = 1
|
||||
PSYC_HEADER_ONLY = 1,
|
||||
};
|
||||
|
||||
|
||||
|
@ -174,8 +174,17 @@ inline size_t PSYC_getContentLength (PSYC_State* s)
|
|||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Parse PSYC packets.
|
||||
* Generalized line-based parser.
|
||||
* @return see PSYC_ReturnCodes
|
||||
*/
|
||||
int PSYC_parse(PSYC_State* state, uint8_t* modifier, PSYC_Array* name, PSYC_Array* value);
|
||||
|
||||
/**
|
||||
* List value parser.
|
||||
* @return see PSYC_ListReturnCodes.
|
||||
*/
|
||||
int PSYC_parseList(PSYC_ListState* state, PSYC_Array *name, PSYC_Array* value, PSYC_Array* elem);
|
||||
|
||||
#endif // PSYC_PARSER_H
|
||||
|
|
Loading…
Reference in a new issue