File: dcap_poll.h

package info (click to toggle)
dcap 2.47.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,388 kB
  • ctags: 1,474
  • sloc: ansic: 14,235; makefile: 395; python: 75; sh: 58
file content (39 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (7)
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
/*
 *   DCAP - dCache Access Protocol client interface
 *
 *   Copyright (C) 2000,2004 DESY Hamburg DMG-Division.
 *
 *   AUTHOR: Tigran Mkrtchayn (tigran.mkrtchyan@desy.de)
 *
 *   This program can be distributed under the terms of the GNU LGPL.
 *   See the file COPYING.LIB
 *
 */


/*
 * $Id: dcap_poll.h,v 1.10 2004-11-01 19:33:29 tigran Exp $
 */
#ifndef DCAP_POLL_H
#define DCAP_POLL_H

#ifndef WIN32
#   include <poll.h>
#else
#   include "dcap_win_poll.h"
#endif

#include "dcap_types.h"

#define HAVETO -1
#define MAYBE 2

#define POLL_CONTROL 0
#define POLL_DATA 1

int dcap_poll(int mode, struct vsp_node *node, int what);
extern int pollAdd(int);
extern void pollDelete(int);


#endif