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
|