File: Csched_api.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-- 1,188 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
/*
 * $RCSfile: Csched_api.h,v $ $Revision: 1.1 $ $Date: 2005/03/29 11:06:41 $ CERN IT-PDP/DM Jean-Damien Durand
 */

/*
 * Copyright (C) 1999-2000 by CERN/IT/PDP/DM
 * All rights reserved
 */


#ifndef __Csched_api_h
#define __Csched_api_h

#include <Csched_flags.h>
#include <Cglobals.h>
#include <osdep.h>

#define  Csched_getschedparam(a,b,c)  Csched_Getschedparam(__FILE__,__LINE__,a,b,c)
#define  Csched_setschedparam(a,b,c)  Csched_Setschedparam(__FILE__,__LINE__,a,b,c)
#define  Csched_get_priority_min(a)   Csched_Get_priority_min(__FILE__,__LINE__,a)
#define  Csched_get_priority_mid(a)   Csched_Get_priority_mid(__FILE__,__LINE__,a)
#define  Csched_get_priority_max(a)   Csched_Get_priority_max(__FILE__,__LINE__,a)

EXTERN_C int   DLL_DECL  Csched_Getschedparam _PROTO((char *, int, int, int *, Csched_param_t *));
EXTERN_C int   DLL_DECL  Csched_Setschedparam _PROTO((char *, int, int, int, Csched_param_t *));
EXTERN_C int   DLL_DECL  Csched_Get_priority_min _PROTO((char *, int, int));
EXTERN_C int   DLL_DECL  Csched_Get_priority_mid _PROTO((char *, int, int));
EXTERN_C int   DLL_DECL  Csched_Get_priority_max _PROTO((char *, int, int));

#endif /* __Csched_api_h */