event.h | event.h | |||
---|---|---|---|---|
skipping to change at line 194 | skipping to change at line 194 | |||
* @memberof ee_event | * @memberof ee_event | |||
* @public | * @public | |||
* | * | |||
* @param event event to format | * @param event event to format | |||
* @param[out] str pointer to string with XML representation, caller must d estruct | * @param[out] str pointer to string with XML representation, caller must d estruct | |||
* @return 0 on success, something else otherwise. | * @return 0 on success, something else otherwise. | |||
*/ | */ | |||
int ee_fmtEventToXML(struct ee_event *event, es_str_t **str); | int ee_fmtEventToXML(struct ee_event *event, es_str_t **str); | |||
/** | ||||
* Format an event to CSV format. | ||||
* | ||||
* This method takes an event and creates a new string representation | ||||
* in CSV format. The string is passed to the caller, which then | ||||
* is responsible for freeing it. Note that this methods needs a string | ||||
* specifying field names and order (as they shall be written to the | ||||
* output). | ||||
* | ||||
* <b>This is part of the ezAPI for libee</b> | ||||
* | ||||
* @memberof ee_event | ||||
* @public | ||||
* | ||||
* @param event event to format | ||||
* @param[out] str pointer to string with XML representation, caller must d | ||||
estruct | ||||
* @param[in] extraData string with field names (comma-delimited list) | ||||
* @return 0 on success, something else otherwise. | ||||
*/ | ||||
int ee_fmtEventToCSV(struct ee_event *event, es_str_t **str, es_str_t *extr | ||||
aData); | ||||
#endif /* #ifndef LIBEE_EVENT_H_INCLUDED */ | #endif /* #ifndef LIBEE_EVENT_H_INCLUDED */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 24 lines changed or added | |||
primitivetype.h | primitivetype.h | |||
---|---|---|---|---|
skipping to change at line 103 | skipping to change at line 103 | |||
* Parser for Words (SP-terminated strings). | * Parser for Words (SP-terminated strings). | |||
*/ | */ | |||
int ee_parseWord(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *ed, struct ee_value **newVal); | int ee_parseWord(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *ed, struct ee_value **newVal); | |||
/** | /** | |||
* Parse everything up to a specific character. | * Parse everything up to a specific character. | |||
*/ | */ | |||
int ee_parseCharTo(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *ed , struct ee_value **newVal); | int ee_parseCharTo(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *ed , struct ee_value **newVal); | |||
/** | /** | |||
* Parse a quoted string. | ||||
*/ | ||||
int ee_parseQuotedString(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str | ||||
_t *ed, struct ee_value **newVal); | ||||
/** | ||||
* Parse an ISO date. | ||||
*/ | ||||
int ee_parseISODate(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *e | ||||
d, struct ee_value **newVal); | ||||
/** | ||||
* Parse a timestamp in 12hr format. | ||||
*/ | ||||
int ee_parseTime12hr(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t * | ||||
ed, struct ee_value **newVal); | ||||
/** | ||||
* Parse a timestamp in 24hr format. | ||||
*/ | ||||
int ee_parseTime24hr(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t * | ||||
ed, struct ee_value **newVal); | ||||
/** | ||||
* Parser for IPv4 addresses. | * Parser for IPv4 addresses. | |||
*/ | */ | |||
int ee_parseIPv4(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *ed, struct ee_value **newVal); | int ee_parseIPv4(ee_ctx ctx, es_str_t *str, es_size_t *offs, es_str_t *ed, struct ee_value **newVal); | |||
#endif /* #ifndef LIBEE_PRIMITIVETYPE_H_INCLUDED */ | #endif /* #ifndef LIBEE_PRIMITIVETYPE_H_INCLUDED */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 24 lines changed or added | |||