%% 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('HOOK', {anyAttribs :: anyAttribs(), 'ID' :: integer(), 'NAME' :: string(), 'TYPE' :: string(), 'TEMPLATE' :: 'HOOK/TEMPLATE'(), 'HOOKLOG' :: 'HOOK/HOOKLOG'() | undefined}). -type 'HOOK'() :: #'HOOK'{}. -record('HOOK/HOOKLOG', {anyAttribs :: anyAttribs(), 'HOOK_EXECUTION_RECORD' :: ['HOOK/HOOKLOG/HOOK_EXECUTION_RECORD'()] | undefined}). -type 'HOOK/HOOKLOG'() :: #'HOOK/HOOKLOG'{}. -record('HOOK/HOOKLOG/HOOK_EXECUTION_RECORD', {anyAttribs :: anyAttribs(), choice :: [any()] | undefined, 'HOOK_ID' :: integer(), 'EXECUTION_ID' :: integer(), 'TIMESTAMP' :: integer(), 'ARGUMENTS' :: string(), 'EXECUTION_RESULT' :: 'HOOK/HOOKLOG/HOOK_EXECUTION_RECORD/EXECUTION_RESULT'(), 'REMOTE_HOST' :: string() | undefined, 'RETRY' :: string() | undefined, choice1 :: [any()] | undefined}). -type 'HOOK/HOOKLOG/HOOK_EXECUTION_RECORD'() :: #'HOOK/HOOKLOG/HOOK_EXECUTION_RECORD'{}. -record('HOOK/HOOKLOG/HOOK_EXECUTION_RECORD/EXECUTION_RESULT', {anyAttribs :: anyAttribs(), 'COMMAND' :: string(), 'STDOUT' :: string(), 'STDERR' :: string(), 'CODE' :: string()}). -type 'HOOK/HOOKLOG/HOOK_EXECUTION_RECORD/EXECUTION_RESULT'() :: #'HOOK/HOOKLOG/HOOK_EXECUTION_RECORD/EXECUTION_RESULT'{}. -record('HOOK/TEMPLATE', {anyAttribs :: anyAttribs(), choice :: [any()] | undefined, 'ARGUMENTS' :: string() | undefined, 'ARGUMENTS_STDIN' :: string() | undefined, 'CALL' :: string() | undefined, 'COMMAND' :: string(), 'REMOTE' :: string() | undefined, 'RESOURCE' :: string() | undefined, 'STATE' :: string() | undefined, 'LCM_STATE' :: string() | undefined, choice1 :: [any()] | undefined}). -type 'HOOK/TEMPLATE'() :: #'HOOK/TEMPLATE'{}.