File: tunnelQueue.h

package info (click to toggle)
dcap 2.47.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,448 kB
  • sloc: ansic: 14,604; makefile: 312; python: 75; sh: 58
file content (24 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *       Copyright (c) 2000,2001,2002 DESY Hamburg DMG-Division
 *               All rights reserved.
 *
 *   This program can be distributed under the terms of the GNU LGPL.
 *   See the file COPYING.LIB
 */
#ifndef TUNNEL_QUEUE_H
#define TUNNEL_QUEUE_H
#include <errno.h>
#include <gssapi.h>

typedef struct {
	gss_ctx_id_t context_hdl;
	int isAuthentificated;
} tunnel_ctx_t;


extern tunnel_ctx_t* createGssContext(int fd);
extern void setGssContext(int fd, gss_ctx_id_t ctx);
extern tunnel_ctx_t* getGssContext(int fd);
extern void destroyGssContext(int fd);

#endif