[wpiutil] DataLog: Add AddSchema functions to C API (#6232)

This commit is contained in:
Thad House
2024-01-15 23:34:18 -08:00
committed by GitHub
parent 30965b20cf
commit a2d45dbca4
2 changed files with 23 additions and 0 deletions

View File

@@ -1373,6 +1373,15 @@ void WPI_DataLog_AppendStringArray(struct WPI_DataLog* datalog, int entry,
const WPI_DataLog_String* arr, size_t len,
int64_t timestamp);
void WPI_DataLog_AddSchemaString(struct WPI_DataLog* datalog, int entry,
const char* name, const char* type,
const char* schema, int64_t timestamp);
void WPI_DataLog_AddSchema(struct WPI_DataLog* datalog, int entry,
const char* name, const char* type,
const uint8_t* schema, size_t schema_len,
int64_t timestamp);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus