File: Csec_protocol_policy.h

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (13 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _CSEC_PROTOCOL_POLICY_H
#define _CSEC_PROTOCOL_POLICY_H

#include <Csec_common.h>

int Csec_client_lookup_protocols(Csec_protocol **protocols, int *nbprotocols);
int Csec_server_lookup_protocols(struct sockaddr *client_address, socklen_t alen,
			      Csec_protocol **protocols,
			      int *nbprotocols);
int Csec_server_set_protocols(Csec_context_t *ctx,
			      int socket);
    
#endif /* _CSEC_PROTOCOL_POLICY_H */