Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / examples / Advanced / ch_8_and_10 / icp.h
blob17a1bf449d61d6cfcee469e01324dbb0a69631a6
1 //=============================================================================
2 /**
3 * @file icp.h
5 * @author Source code used in TAO has been modified and adapted from the codeprovided in the book
6 * @author "Advanced CORBA Programming with C++" by MichiHenning and Steve Vinoski. Copyright 1999. Addison-Wesley
7 * @author Reading
8 * @author MA.Modified for TAO by Mike Moran <mm4@cs.wustl.edu>
9 */
10 //=============================================================================
13 #ifndef _ICP_H
14 #define _ICP_H
16 extern "C" {
17 int ICP_online(unsigned long id); // Add device
18 int ICP_offline(unsigned long id); // Remove device
19 int ICP_get( // Get attribute
20 unsigned long id,
21 const char * attr,
22 void * value,
23 size_t len
25 int ICP_set( // Set attribute
26 unsigned long id,
27 const char * attr,
28 const void * value
32 #endif /* _ICP_H */