libcsem  0.2
csem_common.h File Reference
#include <stdint.h>

Go to the source code of this file.

Defines

#define CSEM_NS_C_BEGIN
#define CSEM_NS_C_END
#define CSEM_DEFAULT_BUF_SIZE   1024
 Default size of internal buffer.
#define CSEM_ALLOWED_MAX_ATTR_VALUE_SIZE   1024
 Default allowed max size of attribute value.

Typedefs

typedef enum CSEM_Bool CSEM_Bool
 CSEM boolean type.
typedef enum CSEM_Error CSEM_Error
 Error Codes.

Enumerations

enum  CSEM_Bool { CSEM_FALSE = 0, CSEM_TRUE = 1 }
 CSEM boolean type. More...
enum  CSEM_Error {
  CSEM_ERROR_NONE = 0, CSEM_ERROR_PARAMETER, CSEM_ERROR_MEMORY, CSEM_ERROR_PARSE,
  CSEM_ERROR_URL, CSEM_ERROR_TOO_LARGE_FIELD
}
 Error Codes. More...

Define Documentation

Default allowed max size of attribute value.

#define CSEM_DEFAULT_BUF_SIZE   1024

Default size of internal buffer.

#define CSEM_NS_C_BEGIN
#define CSEM_NS_C_END

Typedef Documentation

typedef enum CSEM_Bool CSEM_Bool

CSEM boolean type.

typedef enum CSEM_Error CSEM_Error

Error Codes.


Enumeration Type Documentation

enum CSEM_Bool

CSEM boolean type.

Enumerator:
CSEM_FALSE 
CSEM_TRUE 
enum CSEM_Error

Error Codes.

Enumerator:
CSEM_ERROR_NONE 

No Error.

CSEM_ERROR_PARAMETER 

Error of parameters.

CSEM_ERROR_MEMORY 

Error of memory allocation.

CSEM_ERROR_PARSE 

Error of parsing.

CSEM_ERROR_URL 

Error of url parsing.

CSEM_ERROR_TOO_LARGE_FIELD 

Error of too large field.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines