File: gsi_socket_priv.h

package info (click to toggle)
myproxy 6.1.22-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,628 kB
  • ctags: 1,812
  • sloc: ansic: 25,183; sh: 11,726; perl: 3,673; makefile: 361
file content (27 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef GSI_SOCKET_PRIV_H
#define GSI_SOCKET_PRIV_H 1
/*
 * gsi_socket_priv.h
 *
 * See gsi_socket.h for documentation.
 */

struct _gsi_socket 
{
    int				sock;
    int				allow_anonymous; /* Boolean */
    /* All these variables together indicate the last error we saw */
    char			*error_string;
    int				error_number;
    gss_ctx_id_t		gss_context;
    OM_uint32			major_status;
    OM_uint32			minor_status;
    char			*peer_name;
    int             limited_proxy; /* 1 if peer used a limited proxy */
    int             max_token_len;
    char            *certreq;   /* path to a PEM encoded cert req */
};

#define DEFAULT_SERVICE_NAME		"host"

#endif /* GSI_SOCKET_PRIV_H */