/usr/include/omniORB4/ziopStubs.h is in libomniorb4-dev 4.2.2-0.8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | // -*- Mode: C++; -*-
// Package : omniORB
// ziopStubs,h Created on: 2012/10/02
// Author : Duncan Grisby (dgrisby)
//
// Copyright (C) 2012 Apasphere Ltd.
//
// This file is part of the omniORB library
//
// The omniORB library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library. If not, see http://www.gnu.org/licenses/
//
// Description:
// ZIOP stubs
#ifndef _omni_ziop_stubs_h_
#define _omni_ziop_stubs_h_
//
// The fun of Windows DLL linkage...
//
#ifdef _ziop_attr
# error "A local CPP macro _ziop_attr has already been defined."
#endif
#ifdef _OMNIORB_ZIOP_LIBRARY
# define _ziop_attr
#else
# define _ziop_attr _OMNIORB_NTDLL_IMPORT
# ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_was_set
# endif
#endif
#include <omniORB4/compression.hh>
//
// Definitions from standard ZIOP module
//
#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#endif
#if defined(_OMNIORB_ZIOP_DYNAMIC_LIBRARY)
# define _dyn_attr
#else
# define _dyn_attr _OMNIORB_NTDLL_IMPORT
#endif
_CORBA_MODULE ZIOP
_CORBA_MODULE_BEG
# include <omniORB4/ziop_defs.hh>
# define OMNIORB_DECLARE_ZIOP_POLICY_CLASS(name, type, valret, valmethod) \
class name; \
typedef name* name##_ptr; \
\
class name : public CORBA::Policy \
{ \
public: \
inline name(const name##Value& value_) : \
CORBA::Policy(type), pd_value(value_) {} \
inline name() {} \
virtual ~name(); \
\
virtual CORBA::Policy_ptr copy(); \
virtual valret valmethod(); \
\
virtual void* _ptrToObjRef(const char* repoId); \
\
static name##_ptr _duplicate(name##_ptr p); \
static name##_ptr _narrow(CORBA::Object_ptr p); \
static name##_ptr _nil(); \
\
static _ziop_attr const char* _PD_repoId; \
\
private: \
name##Value pd_value; \
}; \
\
typedef _CORBA_PseudoObj_Var<name> name##_var
OMNIORB_DECLARE_ZIOP_POLICY_CLASS(CompressionEnablingPolicy,
COMPRESSION_ENABLING_POLICY_ID,
CompressionEnablingPolicyValue,
compression_enabled);
OMNIORB_DECLARE_ZIOP_POLICY_CLASS(CompressionIdLevelListPolicy,
COMPRESSOR_ID_LEVEL_LIST_POLICY_ID,
CompressionIdLevelListPolicyValue*,
compressor_ids);
OMNIORB_DECLARE_ZIOP_POLICY_CLASS(CompressionLowValuePolicy,
COMPRESSION_LOW_VALUE_POLICY_ID,
CompressionLowValuePolicyValue,
low_value);
OMNIORB_DECLARE_ZIOP_POLICY_CLASS(CompressionMinRatioPolicy,
COMPRESSION_MIN_RATIO_POLICY_ID,
CompressionMinRatioPolicyValue,
ratio);
# undef OMNIORB_DECLARE_ZIOP_POLICY_CLASS
_CORBA_MODULE_END
# include <omniORB4/ziop_operators.hh>
#ifdef USE_core_stub_in_nt_dll_was_set
# undef USE_core_stub_in_nt_dll
#endif
#undef _ziop_attr
#undef _dyn_attr
#endif // _omni_ziop_stubs_h_
|