blob: fc080d498230ddd71b90f7dbb7854e22bd6dd0b4 (
plain)
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
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/examples/Advanced/ch_12
//
// = FILENAME
// icp.h
//
// = AUTHORS
// Source code used in TAO has been modified and adapted from the
// code provided in the book, "Advanced CORBA Programming with C++"
// by Michi Henning and Steve Vinoski. Copyright
// 1999. Addison-Wesley, Reading, MA. Used with permission of
// Addison-Wesley.
//
// Modified for TAO by Mike Moran <mm4@cs.wustl.edu>
//
// ============================================================================
#ifndef _ICP_H
#define _ICP_H
#include "ace/OS.h"
extern "C"
{
int ICP_online (unsigned long id); // Add device
int ICP_offline (unsigned long id); // Remove device
// Get attribute
int ICP_get (unsigned long id,
const char * attr,
void *value,
size_t len);
// Set attribute
int ICP_set (unsigned long id,
const char *attr,
const void *value);
}
#endif /* _ICP_H */
|