File: tunnelQueue.h

package info (click to toggle)
dcap 2.47.6-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,400 kB
  • sloc: ansic: 14,239; makefile: 412; xml: 136; python: 75; sh: 58
file content (24 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (6)
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 IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
 *                 DESY Hamburg DMG-Division
 */
#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