File: Cns_struct.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 (34 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
/*
 * $Id: Cns_struct.h,v 1.2 2007/12/13 08:11:45 baud Exp $
 */

/*
 * Copyright (C) 2003-2007 by CERN/IT/ADC/CA
 * All rights reserved
 */

/*
 * @(#)$RCSfile: Cns_struct.h,v $ $Revision: 1.2 $ $Date: 2007/12/13 08:11:45 $ CERN IT-ADC/CA Jean-Philippe Baud
 */

#ifndef _CNS_STRUCT_H
#define _CNS_STRUCT_H

			/* structures common to Name server client and server */

struct Cns_acl {
	unsigned char	a_type;
	int		a_id;
	unsigned char	a_perm;
};

struct Cns_groupinfo {
	gid_t		gid;
	char		groupname[256];
};

struct Cns_userinfo {
	uid_t		userid;
	char		username[256];
};
#endif