1 #include "opensrf/log.h"
2 #include "opensrf/utils.h"
3 #include "opensrf/osrf_hash.h"
8 osrfHash* oilsIDLInit( const char* );
9 osrfHash* oilsIDL(void);
10 osrfHash* oilsIDLFindPath( const char*, ... );
12 /* The oilsIDL hash looks like this:
16 fieldmapper : "actor::workstation",
17 tablename : "actor.workstation", optional
18 sequence : "actor.workstation_id_seq", optional
20 virtual : "true", optional, "true" | "false"
25 virtual : "true", "true" | "false"
26 primitive : "number" optional, JSON primitive (number, string, array,
33 field : "owning_lib", field above that links to another class
34 rel_type : "has_a", link type, "has_a" | "has_many" | "might_have"
35 class : "aou", the foreign class that is linked
36 key : "id", the foreign class's key that creates the link to "field"
37 map : [] osrfStringArray used by cstore in "has_many" rel_types to
38 point through a linking class
47 int oilsIDL_classIsFieldmapper(const char*);
48 char * oilsIDL_pton(const char *, int);
49 int oilsIDL_ntop(const char *, const char *);