aboutsummaryrefslogtreecommitdiff
path: root/src/identity-provider/identity_provider_api.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-01-04 15:28:02 +0100
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-01-04 15:29:45 +0100
commit78705d5a49d7066a01b832546d2507456a3c5d2c (patch)
treeb0e5f72bdde4574f20c0b89ee56295f83b954800 /src/identity-provider/identity_provider_api.c
parent272921672ec094644a1ddbbfacb96581e72ed443 (diff)
downloadgnunet-78705d5a49d7066a01b832546d2507456a3c5d2c.tar.gz
gnunet-78705d5a49d7066a01b832546d2507456a3c5d2c.zip
-cleanup doc; fixes
Diffstat (limited to 'src/identity-provider/identity_provider_api.c')
-rw-r--r--src/identity-provider/identity_provider_api.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/identity-provider/identity_provider_api.c b/src/identity-provider/identity_provider_api.c
index 6fc8d228a..d0ece80fe 100644
--- a/src/identity-provider/identity_provider_api.c
+++ b/src/identity-provider/identity_provider_api.c
@@ -317,14 +317,13 @@ struct GNUNET_IDENTITY_PROVIDER_Handle
317 317
318}; 318};
319 319
320
321/** 320/**
322 * Try again to connect to the service. 321 * Try again to connect to the service.
323 * 322 *
324 * @param cls handle to the service. 323 * @param h handle to the identity provider service.
325 */ 324 */
326static void 325static void
327reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *handle); 326reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *h);
328 327
329/** 328/**
330 * Reconnect 329 * Reconnect
@@ -344,7 +343,7 @@ reconnect_task (void *cls)
344/** 343/**
345 * Disconnect from service and then reconnect. 344 * Disconnect from service and then reconnect.
346 * 345 *
347 * @param handle our handle 346 * @param handle our service
348 */ 347 */
349static void 348static void
350force_reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *handle) 349force_reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *handle)
@@ -775,7 +774,7 @@ handle_revoke_ticket_result (void *cls,
775/** 774/**
776 * Try again to connect to the service. 775 * Try again to connect to the service.
777 * 776 *
778 * @param cls handle to the identity provider service. 777 * @param h handle to the identity provider service.
779 */ 778 */
780static void 779static void
781reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *h) 780reconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *h)
@@ -895,8 +894,7 @@ GNUNET_IDENTITY_PROVIDER_disconnect (struct GNUNET_IDENTITY_PROVIDER_Handle *h)
895 * 894 *
896 * @param h handle to the identity provider 895 * @param h handle to the identity provider
897 * @param pkey private key of the identity 896 * @param pkey private key of the identity
898 * @param name the attribute name 897 * @param attr the attribute value
899 * @param value the attribute value
900 * @param cont continuation to call when done 898 * @param cont continuation to call when done
901 * @param cont_cls closure for @a cont 899 * @param cont_cls closure for @a cont
902 * @return handle to abort the request 900 * @return handle to abort the request
@@ -1061,7 +1059,7 @@ GNUNET_IDENTITY_PROVIDER_get_attributes_stop (struct GNUNET_IDENTITY_PROVIDER_At
1061 * @param h the identity provider to use 1059 * @param h the identity provider to use
1062 * @param iss the issuing identity 1060 * @param iss the issuing identity
1063 * @param rp the subject of the ticket (the relying party) 1061 * @param rp the subject of the ticket (the relying party)
1064 * @param attr the attributes that the relying party is given access to 1062 * @param attrs the attributes that the relying party is given access to
1065 * @param cb the callback 1063 * @param cb the callback
1066 * @param cb_cls the callback closure 1064 * @param cb_cls the callback closure
1067 * @return handle to abort the operation 1065 * @return handle to abort the operation
@@ -1108,7 +1106,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *h
1108 * Consumes an issued ticket. The ticket is persisted 1106 * Consumes an issued ticket. The ticket is persisted
1109 * and used to retrieve identity information from the issuer 1107 * and used to retrieve identity information from the issuer
1110 * 1108 *
1111 * @param id the identity provider to use 1109 * @param h the identity provider to use
1112 * @param identity the identity that is the subject of the issued ticket (the relying party) 1110 * @param identity the identity that is the subject of the issued ticket (the relying party)
1113 * @param ticket the issued ticket to consume 1111 * @param ticket the issued ticket to consume
1114 * @param cb the callback to call 1112 * @param cb the callback to call
@@ -1218,7 +1216,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_iteration_start (struct GNUNET_IDENTITY_PROVIDER
1218 * Lists all tickets that have been issued to remote 1216 * Lists all tickets that have been issued to remote
1219 * identites (relying parties) 1217 * identites (relying parties)
1220 * 1218 *
1221 * @param id the identity provider to use 1219 * @param h the identity provider to use
1222 * @param identity the issuing identity 1220 * @param identity the issuing identity
1223 * @param error_cb function to call on error (i.e. disconnect), 1221 * @param error_cb function to call on error (i.e. disconnect),
1224 * the handle is afterwards invalid 1222 * the handle is afterwards invalid
@@ -1324,7 +1322,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_iteration_stop (struct GNUNET_IDENTITY_PROVIDER_
1324 * Revoked an issued ticket. The relying party will be unable to retrieve 1322 * Revoked an issued ticket. The relying party will be unable to retrieve
1325 * updated attributes. 1323 * updated attributes.
1326 * 1324 *
1327 * @param id the identity provider to use 1325 * @param h the identity provider to use
1328 * @param identity the issuing identity 1326 * @param identity the issuing identity
1329 * @param ticket the ticket to revoke 1327 * @param ticket the ticket to revoke
1330 * @param cb the callback 1328 * @param cb the callback