~ubuntu-branches/ubuntu/precise/cctools/precise

« back to all changes in this revision

Viewing changes to dttools/src/auth_ticket.h

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2011-10-26 11:51:10 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20111026115110-5pc2qxp03chldcdi
Tags: 3.4.0-1
* New upstream release.
* Improve DEP5 compliance of debian/copyright.
* Added patch to make "starch" use python instead of python2 as interpreter.
* Tighten build-dependencies (added swig and m4).
* Enable MPI-support for work-queue.
* Move to dh_python2.
* Split Python-bindings for workqueue into a dedicated package and build
  them for all supported Python versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
See the file COPYING for details.
5
5
*/
6
6
 
 
7
#ifndef AUTH_TICKET_H
 
8
#define AUTH_TICKET_H
 
9
 
 
10
typedef char * (*auth_ticket_server_callback_t)(const char *);
 
11
 
7
12
int auth_ticket_register(void);
8
13
 
9
 
/* Clear all tickets stored for server authentication. */
10
 
void auth_ticket_clear(void);
11
 
 
12
 
/* Add a digest/ticket pair for server authentication. */
13
 
void auth_ticket_add(const char *digest, const char *ticket);
 
14
/* Callback to lookup a ticket. Returns free()able char * to ticket public key */
 
15
void auth_ticket_server_callback(auth_ticket_server_callback_t sc);
14
16
 
15
17
/* Add tickets to client side tickets to try or, if NULL, load
16
18
 * tickets from current working directory.
17
19
 */
18
20
void auth_ticket_load(const char *tickets);
 
21
 
 
22
#endif