File: dpm_backend.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 (41 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (8)
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
35
36
37
38
39
40
41
/*
 * $Id: dpm_backend.h,v 1.1 2008/01/14 10:06:10 szamsu Exp $
 */

/*
 * Copyright (C) 2007 by CERN/IT/GD/ITR
 * All rights reserved
 */

/*
 * @(#)$RCSfile: dpm_backend.h,v $ $Revision: 1.1 $ $Date: 2008/01/14 10:06:10 $ CERN IT-GD/ITR Jean-Philippe Baud
 */

#ifndef _DPM_BACKEND_H
#define _DPM_BACKEND_H

			/* DPM backend server constants */

#define	CHKCONFIGINT	600
#define	DPM_MAXWORKERS	20

			/* DPM backend server structures */

struct dpm_backend_req {
	int		r_ordinal;
	char		r_token[CA_MAXDPMTOKENLEN+1];
	uid_t		r_uid;
	gid_t		r_gid;
	char		client_dn[256];
	char		groups[256];
	char		clienthost[CA_MAXHOSTNAMELEN+1];
	time_t		retrytime;
	time_t		lifetime;
	char		s_token[CA_MAXDPMTOKENLEN+1];
	char		ret_policy;
	char		f_type;
	int		nbreqfiles;
	time_t		ctime;
	int		status;
};
#endif