File: rfio_server.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 (44 lines) | stat: -rw-r--r-- 1,326 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
42
43
44
/*
 * $RCSfile: rfio_server.h $ $Revision: 3171 $ $Date: 2010-02-15 09:42:46 +0100 (Mon, 15 Feb 2010) $ CERN IT-GS Jean-Philippe Baud
 */

/*
 * Copyright (C) 2009-2010 by CERN IT-GS
 * All rights reserved
 */

/*
 * rfio_server.h - Remote File I/O server definitions
 */

#ifndef _RFIO_SERVER_H
#define _RFIO_SERVER_H

			/* Remote File I/O server constants */

/* If daemonv3_rdmt is true, reading from disk will be multithreaded
   The circular buffer will have in this case daemonv3_rdmt_nbuf buffers of
   size daemonv3_rdmt_bufsize. Defaults values are defined below */
#define DAEMONV3_RDMT (1)
#define DAEMONV3_RDMT_NBUF (4) 
#define DAEMONV3_RDMT_BUFSIZE (256*1024)

/* If daemonv3_wrmt is true, reading from disk will be multithreaded
   The circular buffer will have in this case daemonv3_wrmt_nbuf buffers of
   size daemonv3_wrmt_bufsize. Defaults values are defined below */
#define DAEMONV3_WRMT (1)
#define DAEMONV3_WRMT_NBUF (4) 
#define DAEMONV3_WRMT_BUFSIZE (256*1024)

#if defined(_WIN32)
#define ECONNRESET WSAECONNRESET
#endif  /* WIN32 */

			/* Remote File I/O server structures */


			/* Remote File I/O server function prototypes */

EXTERN_C int rfio_alrm _PROTO((int, char *));
EXTERN_C void rfioacct _PROTO((int, uid_t, gid_t, int, int, int, int, int, struct rfiostat *, char *, char *));
#endif