core38Example.sdl

Schema for the core38Example_main.c example. Compile this schema using rdm-compile as follows:

rdm-compile --c-structs --lc-struct-members --catalog core38Example.sdl

and include the generated header file(s) as follows:

#include "core38Example_structs.h"
#include "core38Example_cat.h"

and compile the following generated source file(s):

core38Example_cat.c

Here follows the actual schema:

create circular table readings of maxrows = 10000
(
r_time timestamp not null,
r_value uint32 not null,
r_desc char(80) not null
);