Functions | |
| avro_status_t | avro_null (void) |
| avro_status_t | avro_int64 (AVRO *avro, int64_t *lp) |
| avro_status_t | avro_string (AVRO *avro, char **str, int64_t maxlen) |
| avro_status_t | avro_bytes (AVRO *avro, char **bytes, int64_t *len, int64_t maxlen) |
| avro_status_t | avro_bool (AVRO *avro, bool_t *bp) |
| avro_status_t | avro_float (AVRO *avro, float *fp) |
| avro_status_t | avro_double (AVRO *avro, double *dp) |
| avro_status_t avro_bool | ( | AVRO * | avro, | |
| bool_t * | bp | |||
| ) |
avro_bool() is called to read/write a boolean value
| avro | The Avro handle | |
| bp | Pointer to the boolean pointer |
| avro_status_t avro_bytes | ( | AVRO * | avro, | |
| char ** | bytes, | |||
| int64_t * | len, | |||
| int64_t | maxlen | |||
| ) |
avro_bytes() is called to read/write opaque bytes
| avro | The Avro handle | |
| bytes | The pointer to the bytes to read/write | |
| len | Pointer to an integer which either (1) expresses the number of bytes you wish to encode or (2) is set on return to give the number of bytes decoded | |
| maxlen | The maximum number of bytes to read/write |
| avro_status_t avro_double | ( | AVRO * | avro, | |
| double * | dp | |||
| ) |
avro_double() is called to read/write a double
| avro | The Avro handle | |
| dp | Pointer to the double |
| avro_status_t avro_float | ( | AVRO * | avro, | |
| float * | fp | |||
| ) |
avro_float() is called to read/write a float
| avro | The Avro handle | |
| fp | Pointer to the float |
| avro_status_t avro_int64 | ( | AVRO * | avro, | |
| int64_t * | lp | |||
| ) |
avro_int64() is called to read/write a 64-bit signed integer
| avro | The Avro handle | |
| lp | Pointer to the 64-bit integer |
| avro_status_t avro_null | ( | void | ) |
avro_null() will not read or write any data
| avro_status_t avro_string | ( | AVRO * | avro, | |
| char ** | str, | |||
| int64_t | maxlen | |||
| ) |
avro_string() is called to read/write a string
| avro | The Avro handle | |
| str | Pointer to the string | |
| maxlen | The maximum length of the string to read/write |
1.5.8