Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
2c37807c
Commit
2c37807c
authored
Nov 03, 2005
by
Browse files
added mapi_set_authdata description
git-svn-id:
file:///home/svn/mapi/trunk@228
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
e0b4a302
Changes
1
Hide whitespace changes
Inline
Side-by-side
mapi.3
View file @
2c37807c
...
...
@@ -26,7 +26,7 @@ MAPI \- Monitoring Application Programming Interface
.br
.BI "void * mapi_read_results(int " fd ", int " fid ", int " copy ");"
.br
.BI "int mapi_set_authdata(int " fd ", const char *" pub ", const char *" priv ", const char *" creds ");"
.BI "int mapi_set_authdata(int " fd ", const char *" pub
lic_key
", const char *" priv
ate_key
", const char *" cred
ential
s ");"
.br
.BI "int mapi_load_library(char *" library ");"
.br
...
...
@@ -192,9 +192,18 @@ with the description of the error denoted by
.IR err_no .
Memory for both arguments must have been previously allocated.
.sp
.BI "int mapi_set_authdata(int " fd ", char *" pub ", char *" priv ", char *" creds ");"
.br
Sets the required information to authorize a flow.
.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 with.
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 ");"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment