Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / Advanced / ch_12 / icp.h
blobb343a6b58c799b0e769966e54282522c2fafcd6e
2 //=============================================================================
3 /**
4 * @file icp.h
6 * @author Source code used in TAO has been modified and adapted from thecode provided in the book
7 * @author "Advanced CORBA Programming with C++"by Michi Henning and Steve Vinoski. Copyright1999. Addison-Wesley
8 * @author Reading
9 * @author MA. Used with permission ofAddison-Wesley.Modified for TAO by Mike Moran <mm4@cs.wustl.edu>
11 //=============================================================================
14 #ifndef _ICP_H
15 #define _ICP_H
17 extern "C"
19 int ICP_online (unsigned long id); // Add device
20 int ICP_offline (unsigned long id); // Remove device
22 // Get attribute
23 int ICP_get (unsigned long id,
24 const char * attr,
25 void *value,
26 size_t len);
27 // Set attribute
28 int ICP_set (unsigned long id,
29 const char *attr,
30 const void *value);
33 #endif /* _ICP_H */