1 #include "opensrf/log.h"
2 #include "opensrf/utils.h"
3 #include "opensrf/osrf_hash.h"
5 osrfHash* oilsIDLInit( char* );
7 osrfHash* oilsIDLFindPath( char*, ... );
9 /* The oilsIDL hash looks like this:
13 fieldmapper : "actor::workstation",
14 tablename : "actor.workstation", optional
15 sequence : "actor.workstation_id_seq", optional
17 virtual : "true", optional, "true" | "false"
22 virtual : "true", "true" | "false"
23 primitive : "number" optional, JSON primitive (number, string, array,
30 field : "owning_lib", field above that links to another class
31 rel_type : "has_a", link type, "has_a" | "has_many" | "might_have"
32 class : "aou", the foreign class that is linked
33 key : "id", the foreign class's key that creates the link to "field"
34 map : [] osrfStringArray used by cstore in "has_many" rel_types to
35 point through a linking class