mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
typedef my enum!
This commit is contained in:
parent
65b508bfa2
commit
2f59265338
3 changed files with 13 additions and 11 deletions
|
@ -23,8 +23,8 @@
|
|||
|
||||
/** @brief Checks if short keyword string matches long keyword string
|
||||
*/
|
||||
int PSYC_matches(uint8_t* sho, size_t slen,
|
||||
uint8_t* lon, size_t llen);
|
||||
int PSYC_matches(char* sho, size_t slen,
|
||||
char* lon, size_t llen);
|
||||
|
||||
/** @brief Callback for PSYC_text() that produces a value for a match
|
||||
*
|
||||
|
|
|
@ -20,10 +20,12 @@
|
|||
|
||||
/** Different types that a variable can have
|
||||
*
|
||||
* This enum lists all the types that a variable
|
||||
* in a psyc packet can have
|
||||
* This enum lists PSYC variable types that
|
||||
* this library is capable of checking for
|
||||
* validity. Other variable types are treated
|
||||
* as opaque data.
|
||||
*/
|
||||
enum PSYC_Types {
|
||||
typedef enum {
|
||||
PSYC_TYPE_AMOUNT,
|
||||
PSYC_TYPE_COLOR,
|
||||
PSYC_TYPE_DATE,
|
||||
|
@ -36,7 +38,7 @@ enum PSYC_Types {
|
|||
PSYC_TYPE_PAGE,
|
||||
PSYC_TYPE_UNIFORM,
|
||||
PSYC_TYPE_TIME,
|
||||
};
|
||||
} PSYC_Type;
|
||||
|
||||
enum PSYC_Flags
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue