Commit b570fa18 authored by 's avatar

nits

git-svn-id: file:///home/svn/mapi/trunk@683 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 312bbc01
......@@ -28,8 +28,6 @@ MAPI \- Monitoring Application Programming Interface
.br
.BI "int mapi_read_error(int *" err_no ", char *" err_str ");"
.br
.BI "int mapi_set_authdata(int " fd ", const char *" public_key ", const char *" private_key ", const char *" credentials ");"
.br
.BI "int mapi_load_library(char *" library ");"
.br
.BI "int mapi_unload_library(char *" library ");"
......@@ -249,20 +247,6 @@ needs 512 bytes (maximum).
All the MAPI error codes and their description can be found in the errors.mapi file.
Upon success it returns 0, otherwise -1.
.sp
.BI "int mapi_set_authdata(int " fd ", char *" public_key ", char *" private_key ", char *" credentials ");"
.br
.B mapi_set_authdata()
sets the required information to authorize a flow.
This function is required only if authorization is
enabled in the mapi sensor. Keys are
used to authenticate the user while the credentials provide
the sensor with the policy that the flow should comform to.
The user can retreive the digitaly signed credentials (so that
thay can not be altered) from the administrator of each
sensor. Authorization is performed upon
.B mapi_connect().
.br
.sp
.BI "int mapi_load_library(char *" lib ");"
.br
.B mapi_load_library()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment