~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/examples/Advanced/ch_21/icp.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// icp.h,v 1.1 1999/09/03 22:49:04 mm4 Exp
2
 
// ============================================================================
3
 
//
4
 
// = LIBRARY
5
 
//    TAO/examples/Advanced/ch_21
6
 
//
7
 
// = FILENAME
8
 
//    icp.h
9
 
//
10
 
// = AUTHORS
11
 
//   Source code used in TAO has been modified and adapted from the code
12
 
//   provided in the book, "Advanced CORBA Programming with C++" by Michi
13
 
//   Henning and Steve Vinoski. Copyright 1999. Addison-Wesley, Reading,
14
 
//   MA.
15
 
//
16
 
//   Modified for TAO by Mike Moran <mm4@cs.wustl.edu>
17
 
//
18
 
// ============================================================================
19
 
 
20
 
 
21
 
 
22
 
 
23
 
 
24
 
#ifndef _ICP_H
25
 
#define _ICP_H
26
 
 
27
 
extern "C" {
28
 
    int ICP_online(unsigned long id);   // Add device
29
 
    int ICP_offline(unsigned long id);  // Remove device
30
 
    int ICP_get(                        // Get attribute
31
 
            unsigned long   id,
32
 
            const char *    attr,
33
 
            void *          value,
34
 
            size_t          len
35
 
        );
36
 
    int ICP_set(                        // Set attribute
37
 
            unsigned long   id, 
38
 
            const char *    attr,
39
 
            const void *    value
40
 
        );
41
 
}
42
 
 
43
 
#endif /* _ICP_H */
44
 
 
45
 
 
46
 
 
47
 
 
48
 
 
49
 
 
50
 
 
51
 
 
52