73 lines
No EOL
1.9 KiB
Erlang
73 lines
No EOL
1.9 KiB
Erlang
%% HRL file generated by ERLSOM
|
|
%%
|
|
%% It is possible (and in some cases necessary) to change the name of
|
|
%% the record fields.
|
|
%%
|
|
%% It is possible to add default values, but be aware that these will
|
|
%% only be used when *writing* an xml document.
|
|
|
|
|
|
-ifndef(ERLSOM_ANY_ATTRIB_TYPES).
|
|
-define(ERLSOM_ANY_ATTRIB_TYPES, true).
|
|
-type anyAttrib() :: {{string(), %% name of the attribute
|
|
string()}, %% namespace
|
|
string()}. %% value
|
|
|
|
-type anyAttribs() :: [anyAttrib()] | undefined.
|
|
-endif.
|
|
|
|
-ifndef(ERLSOM_QNAME_TYPES).
|
|
-define(ERLSOM_QNAME_TYPES, true).
|
|
%% xsd:QName values are translated to #qname{} records.
|
|
-record(qname, {uri :: string(),
|
|
localPart :: string(),
|
|
prefix :: string(),
|
|
mappedPrefix :: string()}).
|
|
-endif.
|
|
|
|
|
|
|
|
-record('VNTEMPLATE', {anyAttribs :: anyAttribs(),
|
|
'ID' :: integer(),
|
|
'UID' :: integer(),
|
|
'GID' :: integer(),
|
|
'UNAME' :: string(),
|
|
'GNAME' :: string(),
|
|
'NAME' :: string(),
|
|
'LOCK' :: 'VNTEMPLATE/LOCK'() | undefined,
|
|
'PERMISSIONS' :: 'VNTEMPLATE/PERMISSIONS'(),
|
|
'REGTIME' :: integer(),
|
|
'TEMPLATE' :: 'VNTEMPLATE/TEMPLATE'()}).
|
|
|
|
-type 'VNTEMPLATE'() :: #'VNTEMPLATE'{}.
|
|
|
|
|
|
-record('VNTEMPLATE/TEMPLATE', {anyAttribs :: anyAttribs(),
|
|
choice :: [any()] | undefined,
|
|
'VN_MAD' :: string(),
|
|
choice1 :: [any()] | undefined}).
|
|
|
|
-type 'VNTEMPLATE/TEMPLATE'() :: #'VNTEMPLATE/TEMPLATE'{}.
|
|
|
|
|
|
-record('VNTEMPLATE/PERMISSIONS', {anyAttribs :: anyAttribs(),
|
|
'OWNER_U' :: integer(),
|
|
'OWNER_M' :: integer(),
|
|
'OWNER_A' :: integer(),
|
|
'GROUP_U' :: integer(),
|
|
'GROUP_M' :: integer(),
|
|
'GROUP_A' :: integer(),
|
|
'OTHER_U' :: integer(),
|
|
'OTHER_M' :: integer(),
|
|
'OTHER_A' :: integer()}).
|
|
|
|
-type 'VNTEMPLATE/PERMISSIONS'() :: #'VNTEMPLATE/PERMISSIONS'{}.
|
|
|
|
|
|
-record('VNTEMPLATE/LOCK', {anyAttribs :: anyAttribs(),
|
|
'LOCKED' :: integer(),
|
|
'OWNER' :: integer(),
|
|
'TIME' :: integer(),
|
|
'REQ_ID' :: integer()}).
|
|
|
|
-type 'VNTEMPLATE/LOCK'() :: #'VNTEMPLATE/LOCK'{}. |