diff --git a/lib/inets/doc/src/httpd_custom_api.xml b/lib/inets/doc/src/httpd_custom_api.xml index 3695deaa45d0..124c0c29d435 100644 --- a/lib/inets/doc/src/httpd_custom_api.xml +++ b/lib/inets/doc/src/httpd_custom_api.xml @@ -34,7 +34,7 @@ - response_default_headers() -> [Header] + Module:response_default_headers() -> [Header] Provide default headers for the HTTP servers responses. Header = {HeaderName :: string(), HeaderValue::string()} @@ -48,7 +48,7 @@ - response_header({HeaderName, HeaderValue}) -> {true, Header} | false + Module:response_header({HeaderName, HeaderValue}) -> {true, Header} | false Filter and possible alter HTTP response headers. Header = {HeaderName :: string(), HeaderValue::string()} @@ -61,7 +61,7 @@ - request_header({HeaderName, HeaderValue}) -> {true, Header} | false + Module:request_header({HeaderName, HeaderValue}) -> {true, Header} | false Filter and possible alter HTTP request headers. Header = {HeaderName :: string(), HeaderValue::string()} diff --git a/lib/megaco/doc/src/megaco_user.xml b/lib/megaco/doc/src/megaco_user.xml index 33532b9b4e20..fc092a32143f 100644 --- a/lib/megaco/doc/src/megaco_user.xml +++ b/lib/megaco/doc/src/megaco_user.xml @@ -164,8 +164,8 @@ protocol_version() = integer() ]]> - handle_connect(ConnHandle, ProtocolVersion) -> ok | error | {error,ErrorDescr} - handle_connect(ConnHandle, ProtocolVersion, Extra) -> ok | error | {error,ErrorDescr} + Module:handle_connect(ConnHandle, ProtocolVersion) -> ok | error | {error,ErrorDescr} + Module:handle_connect(ConnHandle, ProtocolVersion, Extra) -> ok | error | {error,ErrorDescr} Invoked when a new connection is established ConnHandle = conn_handle() @@ -202,7 +202,7 @@ protocol_version() = integer() ]]> - handle_disconnect(ConnHandle, ProtocolVersion, Reason) -> ok + Module:handle_disconnect(ConnHandle, ProtocolVersion, Reason) -> ok Invoked when a connection is teared down ConnHandle = conn_handle() @@ -220,8 +220,8 @@ protocol_version() = integer() ]]> - handle_syntax_error(ReceiveHandle, ProtocolVersion, DefaultED) -> reply | {reply, ED} | no_reply | {no_reply, ED} - handle_syntax_error(ReceiveHandle, ProtocolVersion, DefaultED, Extra) -> reply | {reply, ED} | no_reply | {no_reply, ED} + Module:handle_syntax_error(ReceiveHandle, ProtocolVersion, DefaultED) -> reply | {reply, ED} | no_reply | {no_reply, ED} + Module:handle_syntax_error(ReceiveHandle, ProtocolVersion, DefaultED, Extra) -> reply | {reply, ED} | no_reply | {no_reply, ED} Invoked when a received message had syntax errors ReceiveHandle = receive_handle() @@ -258,8 +258,8 @@ protocol_version() = integer() ]]> - handle_message_error(ConnHandle, ProtocolVersion, ErrorDescr) -> ok - handle_message_error(ConnHandle, ProtocolVersion, ErrorDescr, Extra) -> ok + Module:handle_message_error(ConnHandle, ProtocolVersion, ErrorDescr) -> ok + Module:handle_message_error(ConnHandle, ProtocolVersion, ErrorDescr, Extra) -> ok Invoked when a received message just contains an error ConnHandle = conn_handle() @@ -316,8 +316,8 @@ protocol_version() = integer() ]]> --> - handle_trans_request(ConnHandle, ProtocolVersion, ActionRequests) -> pending() | reply() | ignore_trans_request - handle_trans_request(ConnHandle, ProtocolVersion, ActionRequests, Extra) -> pending() | reply() | ignore_trans_request + Module:handle_trans_request(ConnHandle, ProtocolVersion, ActionRequests) -> pending() | reply() | ignore_trans_request + Module:handle_trans_request(ConnHandle, ProtocolVersion, ActionRequests, Extra) -> pending() | reply() | ignore_trans_request Invoked for each transaction request ConnHandle = conn_handle() @@ -420,8 +420,8 @@ protocol_version() = integer() ]]> - handle_trans_long_request(ConnHandle, ProtocolVersion, ReqData) -> reply() - handle_trans_long_request(ConnHandle, ProtocolVersion, ReqData, Extra) -> reply() + Module:handle_trans_long_request(ConnHandle, ProtocolVersion, ReqData) -> reply() + Module:handle_trans_long_request(ConnHandle, ProtocolVersion, ReqData, Extra) -> reply() Optionally invoked for a time consuming transaction request ConnHandle = conn_handle() @@ -460,8 +460,8 @@ protocol_version() = integer() ]]> - handle_trans_reply(ConnHandle, ProtocolVersion, UserReply, ReplyData) -> ok - handle_trans_reply(ConnHandle, ProtocolVersion, UserReply, ReplyData, Extra) -> ok + Module:handle_trans_reply(ConnHandle, ProtocolVersion, UserReply, ReplyData) -> ok + Module:handle_trans_reply(ConnHandle, ProtocolVersion, UserReply, ReplyData, Extra) -> ok Optionally invoked for a transaction reply ConnHandle = conn_handle() @@ -593,8 +593,8 @@ protocol_version() = integer() ]]> - handle_trans_ack(ConnHandle, ProtocolVersion, AckStatus, AckData) -> ok - handle_trans_ack(ConnHandle, ProtocolVersion, AckStatus, AckData, Extra) -> ok + Module:handle_trans_ack(ConnHandle, ProtocolVersion, AckStatus, AckData) -> ok + Module:handle_trans_ack(ConnHandle, ProtocolVersion, AckStatus, AckData, Extra) -> ok Optionally invoked for a transaction acknowledgement ConnHandle = conn_handle() @@ -658,8 +658,8 @@ protocol_version() = integer() ]]> - handle_unexpected_trans(ConnHandle, ProtocolVersion, Trans) -> ok - handle_unexpected_trans(ConnHandle, ProtocolVersion, Trans, Extra) -> ok + Module:handle_unexpected_trans(ConnHandle, ProtocolVersion, Trans) -> ok + Module:handle_unexpected_trans(ConnHandle, ProtocolVersion, Trans, Extra) -> ok Invoked when an unexpected message is received ConnHandle = conn_handle() @@ -685,8 +685,8 @@ protocol_version() = integer() ]]> - handle_trans_request_abort(ConnHandle, ProtocolVersion, TransNo, Pid) -> ok - handle_trans_request_abort(ConnHandle, ProtocolVersion, TransNo, Pid, Extra) -> ok + Module:handle_trans_request_abort(ConnHandle, ProtocolVersion, TransNo, Pid) -> ok + Module:handle_trans_request_abort(ConnHandle, ProtocolVersion, TransNo, Pid, Extra) -> ok Invoked when an transaction request has been aborted ConnHandle = conn_handle() @@ -710,8 +710,8 @@ protocol_version() = integer() ]]> - handle_segment_reply(ConnHandle, ProtocolVersion, TransNo, SegNo, SegCompl) -> ok - handle_segment_reply(ConnHandle, ProtocolVersion, TransNo, SegNo, SegCompl, Extra) -> ok + Module:handle_segment_reply(ConnHandle, ProtocolVersion, TransNo, SegNo, SegCompl) -> ok + Module:handle_segment_reply(ConnHandle, ProtocolVersion, TransNo, SegNo, SegCompl, Extra) -> ok Segment Reply Indication ConnHandle = conn_handle() diff --git a/lib/snmp/doc/src/snmpa_discovery_handler.xml b/lib/snmp/doc/src/snmpa_discovery_handler.xml index 20adf5d2abc4..1af386562329 100644 --- a/lib/snmp/doc/src/snmpa_discovery_handler.xml +++ b/lib/snmp/doc/src/snmpa_discovery_handler.xml @@ -51,7 +51,7 @@ - stage1_finish(TargetName, ManagerEngineID, ExtraInfo) -> ignore | {ok, usm_entry() | [usm_entry()]} | {ok, usm_entry() | [usm_entry()], NewExtraInfo} + Module:stage1_finish(TargetName, ManagerEngineID, ExtraInfo) -> ignore | {ok, usm_entry() | [usm_entry()]} | {ok, usm_entry() | [usm_entry()], NewExtraInfo} Discovery stage 1 finish TargetName = string() diff --git a/lib/snmp/doc/src/snmpa_error_report.xml b/lib/snmp/doc/src/snmpa_error_report.xml index 25a727d5d766..8e864799d8e4 100644 --- a/lib/snmp/doc/src/snmpa_error_report.xml +++ b/lib/snmp/doc/src/snmpa_error_report.xml @@ -52,7 +52,7 @@ - config_err(Format, Args) -> void() + Module:config_err(Format, Args) -> void() Called if a configuration error occurs Format = string() @@ -68,7 +68,7 @@ - user_err(Format, Args) -> void() + Module:user_err(Format, Args) -> void() Called if a user related error occurs Format = string() diff --git a/lib/snmp/doc/src/snmpa_network_interface.xml b/lib/snmp/doc/src/snmpa_network_interface.xml index 4029bbb70877..0172f92bda57 100644 --- a/lib/snmp/doc/src/snmpa_network_interface.xml +++ b/lib/snmp/doc/src/snmpa_network_interface.xml @@ -68,7 +68,7 @@ - start_link(Prio, NoteStore, MasterAgent, Opts) -> {ok, Pid} | {error, Reason} + Module:start_link(Prio, NoteStore, MasterAgent, Opts) -> {ok, Pid} | {error, Reason} Start-link the network interface process Prio = priority() @@ -93,7 +93,7 @@ - info(Pid) -> [{Key, Value}] + Module:info(Pid) -> [{Key, Value}] Return information about the running network interface process Pid = pid() @@ -112,7 +112,7 @@ - verbosity(Pid, Verbosity) -> void() + Module:verbosity(Pid, Verbosity) -> void() Change the verbosity of a running network interface process Pid = pid() @@ -126,7 +126,7 @@ - get_log_type(Pid) -> {ok, LogType} | {error, Reason} + Module:get_log_type(Pid) -> {ok, LogType} | {error, Reason} Get the Audit Trail Log type Pid = pid() @@ -147,7 +147,7 @@ - set_log_type(Pid, NewType) -> {ok, OldType} | {error, Reason} + Module:set_log_type(Pid, NewType) -> {ok, OldType} | {error, Reason} Change the Audit Trail Log type Pid = pid() diff --git a/lib/snmp/doc/src/snmpa_network_interface_filter.xml b/lib/snmp/doc/src/snmpa_network_interface_filter.xml index f5556ddfd6ab..4077d27706ad 100644 --- a/lib/snmp/doc/src/snmpa_network_interface_filter.xml +++ b/lib/snmp/doc/src/snmpa_network_interface_filter.xml @@ -101,7 +101,7 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_recv(Domain, Addr) -> boolean() + Module:accept_recv(Domain, Addr) -> boolean() Shall the received message be accepted Domain = transportDomain() @@ -116,7 +116,7 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_send(Domain, Addr) -> boolean() + Module:accept_send(Domain, Addr) -> boolean() Shall the message be sent Domain = transportDomain() @@ -131,7 +131,7 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_recv_pdu(Domain, Addr, PduType) -> boolean() + Module:accept_recv_pdu(Domain, Addr, PduType) -> boolean() Shall the received pdu be accepted Domain = transportDomain() @@ -148,15 +148,14 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_send_pdu(Targets, PduType) -> Reply + Module:accept_send_pdu(Targets, PduType) -> Reply Shall the pdu be sent - Targets = targets() - targets() = [target()] - target() = {Domain, Addr} + Targets = [Target] + Target = {Domain, Addr} Domain = transportDomain() Addr = transportAddressWithPort() - PduType = pdu_type() > 0 + PduType = pdu_type() Reply = boolean() | NewTargets NewTargets = targets() diff --git a/lib/snmp/doc/src/snmpa_notification_delivery_info_receiver.xml b/lib/snmp/doc/src/snmpa_notification_delivery_info_receiver.xml index 5e3c64e3f026..ecaa22d1fcdb 100644 --- a/lib/snmp/doc/src/snmpa_notification_delivery_info_receiver.xml +++ b/lib/snmp/doc/src/snmpa_notification_delivery_info_receiver.xml @@ -46,10 +46,10 @@ must export the following functions:

-

delivery_targets/3

+

delivery_targets/3

-

delivery_info/4

+

delivery_info/4

The semantics of them and their exact signatures are explained @@ -76,12 +76,12 @@ - delivery_targets(Tag, Targets, Extra) -> void() + Module:delivery_targets(Tag, Targets, Extra) -> void() Inform about target addresses Tag = term() Targets = [Target] - Target = {transportDomain(), transportAddressWithPort() + Target = {transportDomain(), transportAddressWithPort()} Extra = term() @@ -97,14 +97,13 @@ - delivery_info(Tag, Target, DeliveryResult, Extra) -> void() + Module:delivery_info(Tag, Target, DeliveryResult, Extra) -> void() Inform about delivery result Tag = term() Targets = [Target] - Target = {transportDomain(), transportAddressWithPort() - DeliveryResult = delivery_result() - delivery_result() = no_response | got_response + Target = {transportDomain(), transportAddressWithPort()} + DeliveryResult = no_response | got_response Extra = term() diff --git a/lib/snmp/doc/src/snmpa_notification_filter.xml b/lib/snmp/doc/src/snmpa_notification_filter.xml index 0eedcb66e608..c7a1a8e88ea8 100644 --- a/lib/snmp/doc/src/snmpa_notification_filter.xml +++ b/lib/snmp/doc/src/snmpa_notification_filter.xml @@ -51,7 +51,7 @@ - handle_notification(Notif, Data) -> Reply + Module:handle_notification(Notif, Data) -> Reply Handle a notification Reply = send | {send, NewNotif} | dont_send diff --git a/lib/snmp/doc/src/snmpm_network_interface.xml b/lib/snmp/doc/src/snmpm_network_interface.xml index d6e58fbdb49a..b113083ae803 100644 --- a/lib/snmp/doc/src/snmpm_network_interface.xml +++ b/lib/snmp/doc/src/snmpm_network_interface.xml @@ -79,7 +79,7 @@ - start_link(Server, NoteStore) -> {ok, Pid} | {error, Reason} + Module:start_link(Server, NoteStore) -> {ok, Pid} | {error, Reason} Start-link the network interface process Server = pid() @@ -95,7 +95,7 @@ - stop(Pid) -> void() + Module:stop(Pid) -> void() Stop the network interface process Pid = pid() @@ -108,7 +108,7 @@ - send_pdu(Pid, Pdu, Vsn, MsgData, Domain, Addr, ExtraInfo) -> void() + Module:send_pdu(Pid, Pdu, Vsn, MsgData, Domain, Addr, ExtraInfo) -> void() Request the network interface process to send this pdu Pid = pid() @@ -142,7 +142,7 @@ - inform_response(Pid, Ref, Addr, Port) -> void() + Module:inform_response(Pid, Ref, Addr, Port) -> void() Send the inform-request ack Pid = pid() @@ -163,7 +163,7 @@ - note_store(Pid, NoteStore) -> void() + Module:note_store(Pid, NoteStore) -> void() Change the verbosity of the network interface process Pid = pid() @@ -179,7 +179,7 @@ - info(Pid) -> [{Key, Value}] + Module:info(Pid) -> [{Key, Value}] Return information about the running network interface process Pid = pid() @@ -198,7 +198,7 @@ - verbosity(Pid, Verbosity) -> void() + Module:verbosity(Pid, Verbosity) -> void() Change the verbosity of the network interface process Pid = pid() @@ -212,7 +212,7 @@ - get_log_type(Pid) -> {ok, LogType} | {error, Reason} + Module:get_log_type(Pid) -> {ok, LogType} | {error, Reason} Get the Audit Trail Log type Pid = pid() @@ -233,7 +233,7 @@ - set_log_type(Pid, NewType) -> {ok, OldType} | {error, Reason} + Module:set_log_type(Pid, NewType) -> {ok, OldType} | {error, Reason} Change the Audit Trail Log type Pid = pid() diff --git a/lib/snmp/doc/src/snmpm_network_interface_filter.xml b/lib/snmp/doc/src/snmpm_network_interface_filter.xml index d4b787f91902..f6ca69286f47 100644 --- a/lib/snmp/doc/src/snmpm_network_interface_filter.xml +++ b/lib/snmp/doc/src/snmpm_network_interface_filter.xml @@ -100,7 +100,7 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_recv(Domain, Addr) -> boolean() + Module:accept_recv(Domain, Addr) -> boolean() Shall the received message be accepted Domain = transportDomain() @@ -116,7 +116,7 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_send(Domain, Addr) -> boolean() + Module:accept_send(Domain, Addr) -> boolean() Shall the message be sent Domain = transportDomain() @@ -132,7 +132,7 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_recv_pdu(Domain, Addr, PduType) -> boolean() + Module:accept_recv_pdu(Domain, Addr, PduType) -> boolean() Shall the received pdu be accepted Domain = transportDomain() @@ -150,12 +150,12 @@ pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | - accept_send_pdu(Domain, Addr, PduType) -> boolean() + Module:accept_send_pdu(Domain, Addr, PduType) -> boolean() Shall the pdu be sent Domain = transportDomain() Addr = transportAddressWithPort() - PduType = pdu_type() > 0 + PduType = pdu_type()

Called before the basic message processing (MPD) is done, diff --git a/lib/snmp/doc/src/snmpm_user.xml b/lib/snmp/doc/src/snmpm_user.xml index bea3cd88cd15..c0f727ff67bc 100644 --- a/lib/snmp/doc/src/snmpm_user.xml +++ b/lib/snmp/doc/src/snmpm_user.xml @@ -93,7 +93,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_error(ReqId, Reason, UserData) -> void() + Module:handle_error(ReqId, Reason, UserData) -> void() Handle error ReqId = netif | integer() @@ -126,7 +126,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_agent(Domain, Addr, Type, SnmpInfo, UserData) -> Reply + Module:handle_agent(Domain, Addr, Type, SnmpInfo, UserData) -> Reply Handle agent Domain = transportDomainUdpIpv4 | transportDomainUdpIpv6 @@ -185,7 +185,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_pdu(TargetName, ReqId, SnmpPduInfo, UserData) -> void() + Module:handle_pdu(TargetName, ReqId, SnmpPduInfo, UserData) -> void() Handle the reply to an asynchronous request TargetName = target_name() @@ -206,7 +206,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_trap(TargetName, SnmpTrapInfo, UserData) -> Reply + Module:handle_trap(TargetName, SnmpTrapInfo, UserData) -> Reply Handle a trap/notification message TargetName = TargetName2 = target_name() @@ -229,7 +229,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_inform(TargetName, SnmpInformInfo, UserData) -> Reply + Module:handle_inform(TargetName, SnmpInformInfo, UserData) -> Reply Handle a inform message TargetName = TargetName2 = target_name() @@ -257,7 +257,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_report(TargetName, SnmpReportInfo, UserData) -> Reply + Module:handle_report(TargetName, SnmpReportInfo, UserData) -> Reply Handle a report message TargetName = TargetName2 = target_name() @@ -282,7 +282,7 @@ snmp_v1_trap_info() :: {Enteprise :: snmp:oid(), - handle_invalid_result(IN, OUT) -> void() + Module:handle_invalid_result(IN, OUT) -> void() Handle a report message IN = {Func, Args}