forked from loafle/openapi-generator-original
* C client generator improvement to support: openapi-generator/modules/openapi-generator/src/test/resources/3_0/petstore.yaml * Improvements to the C client generator: - moved base64* from apiClient.c to binary.h/binary.c - changed CR/LF to LF in binary.h/binary.c * C client generator: better support for base64encode / base64decode
28 lines
457 B
C
28 lines
457 B
C
/*
|
|
* object.h
|
|
*/
|
|
|
|
#ifndef _object_H_
|
|
#define _object_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
|
|
|
|
typedef struct object_t {
|
|
void *temporary;
|
|
} object_t;
|
|
|
|
object_t *object_create();
|
|
|
|
void object_free(object_t *object);
|
|
|
|
object_t *object_parseFromJSON(char *jsonString);
|
|
|
|
cJSON *object_convertToJSON(object_t *object);
|
|
|
|
#endif /* _object_H_ */
|