This file is indexed.

/usr/include/COS/CosLicensingManager.hh is in libcos4-dev 4.1.6-2.1+b1.

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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __CosLicensingManager_hh__
#define __CosLicensingManager_hh__

#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif

#ifndef  USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
#endif


#include "COS_sysdep.h"
#ifndef __CosEventComm_hh_EXTERNAL_GUARD__
#define __CosEventComm_hh_EXTERNAL_GUARD__
#include "CosEventComm.hh"
#endif
#ifndef __corbaidl_hh_EXTERNAL_GUARD__
#define __corbaidl_hh_EXTERNAL_GUARD__
#include "corbaidl.hh"
#endif
#ifndef __boxes_hh_EXTERNAL_GUARD__
#define __boxes_hh_EXTERNAL_GUARD__
#include "boxes.hh"
#endif
#ifndef __CosPropertyService_hh_EXTERNAL_GUARD__
#define __CosPropertyService_hh_EXTERNAL_GUARD__
#include "CosPropertyService.hh"
#endif



#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
#  define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
#  define USE_dyn_stub_in_nt_dll
# endif
#endif

#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef  USE_core_stub_in_nt_dll
#  define _core_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _core_attr
# endif
#endif

#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef  USE_dyn_stub_in_nt_dll
#  define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _dyn_attr
# endif
#endif





_CORBA_MODULE CosLicensingManager

_CORBA_MODULE_BEG

  class InvalidProducer : public ::CORBA::UserException {
  public:
    
    

    inline InvalidProducer() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    InvalidProducer(const InvalidProducer&);
    
    InvalidProducer& operator=(const InvalidProducer&);
    virtual ~InvalidProducer();
    virtual void _raise() const;
    static InvalidProducer* _downcast(::CORBA::Exception*);
    static const InvalidProducer* _downcast(const ::CORBA::Exception*);
    static inline InvalidProducer* _narrow(::CORBA::Exception* _e) {
      return _downcast(_e);
    }
    
    inline void operator>>=(cdrStream&) const { }
    inline void operator<<=(cdrStream&) { }

    static _core_attr insertExceptionToAny    insertToAnyFn;
    static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

    virtual ::CORBA::Exception* _NP_duplicate() const;

    static _core_attr const char* _PD_repoId;
    static _core_attr const char* _PD_typeId;

  private:
    virtual const char* _NP_typeId() const;
    virtual const char* _NP_repoId(int*) const;
    virtual void _NP_marshal(cdrStream&) const;
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_InvalidProducer;

  class InvalidParameter : public ::CORBA::UserException {
  public:
    
    

    inline InvalidParameter() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    InvalidParameter(const InvalidParameter&);
    
    InvalidParameter& operator=(const InvalidParameter&);
    virtual ~InvalidParameter();
    virtual void _raise() const;
    static InvalidParameter* _downcast(::CORBA::Exception*);
    static const InvalidParameter* _downcast(const ::CORBA::Exception*);
    static inline InvalidParameter* _narrow(::CORBA::Exception* _e) {
      return _downcast(_e);
    }
    
    inline void operator>>=(cdrStream&) const { }
    inline void operator<<=(cdrStream&) { }

    static _core_attr insertExceptionToAny    insertToAnyFn;
    static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

    virtual ::CORBA::Exception* _NP_duplicate() const;

    static _core_attr const char* _PD_repoId;
    static _core_attr const char* _PD_typeId;

  private:
    virtual const char* _NP_typeId() const;
    virtual const char* _NP_repoId(int*) const;
    virtual void _NP_marshal(cdrStream&) const;
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_InvalidParameter;

  class ComponentNotRegistered : public ::CORBA::UserException {
  public:
    
    

    inline ComponentNotRegistered() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    ComponentNotRegistered(const ComponentNotRegistered&);
    
    ComponentNotRegistered& operator=(const ComponentNotRegistered&);
    virtual ~ComponentNotRegistered();
    virtual void _raise() const;
    static ComponentNotRegistered* _downcast(::CORBA::Exception*);
    static const ComponentNotRegistered* _downcast(const ::CORBA::Exception*);
    static inline ComponentNotRegistered* _narrow(::CORBA::Exception* _e) {
      return _downcast(_e);
    }
    
    inline void operator>>=(cdrStream&) const { }
    inline void operator<<=(cdrStream&) { }

    static _core_attr insertExceptionToAny    insertToAnyFn;
    static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

    virtual ::CORBA::Exception* _NP_duplicate() const;

    static _core_attr const char* _PD_repoId;
    static _core_attr const char* _PD_typeId;

  private:
    virtual const char* _NP_typeId() const;
    virtual const char* _NP_repoId(int*) const;
    virtual void _NP_marshal(cdrStream&) const;
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentNotRegistered;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ProducerSpecificNotification;

  typedef ::CORBA::Object ProducerSpecificNotification;
  typedef ::CORBA::Object_ptr ProducerSpecificNotification_ptr;
  typedef ::CORBA::ObjectRef ProducerSpecificNotificationRef;
  
  typedef ::CORBA::Object_Helper ProducerSpecificNotification_Helper;
  
  typedef ::CORBA::Object_var ProducerSpecificNotification_var;
  typedef ::CORBA::Object_out ProducerSpecificNotification_out;

  enum ActionRequired { _cxx_continue, terminate /*, __max_ActionRequired=0xffffffff */ };
  typedef ActionRequired& ActionRequired_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ActionRequired;

  enum Answer { yes, no /*, __max_Answer=0xffffffff */ };
  typedef Answer& Answer_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Answer;

  struct Action_t {
    typedef _CORBA_ConstrType_Variable_Var<Action_t> _var_type;

    
    ActionRequired action;

    Answer notification_required;

    Answer wait_for_user_confirmation_after_notification;

    ::CORBA::ULong notification_duration;

    ::CORBA::Object_Member producer_notification;

    ::CORBA::String_member notification_text;

  

    void operator>>= (cdrStream &) const;
    void operator<<= (cdrStream &);
  };

  typedef Action_t::_var_type Action_t_var;

  typedef _CORBA_ConstrType_Variable_OUT_arg< Action_t,Action_t_var > Action_t_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Action_t;

  struct ChallengeData {
    typedef _CORBA_ConstrType_Variable_Var<ChallengeData> _var_type;

    
    ::CORBA::ULong challenge_index;

    ::CORBA::ULong random_number;

    ::CORBA::String_member digest;

  

    void operator>>= (cdrStream &) const;
    void operator<<= (cdrStream &);
  };

  typedef ChallengeData::_var_type ChallengeData_var;

  typedef _CORBA_ConstrType_Variable_OUT_arg< ChallengeData,ChallengeData_var > ChallengeData_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ChallengeData;

  enum ChallengeProtocol { default_protocol, producer_defined /*, __max_ChallengeProtocol=0xffffffff */ };
  typedef ChallengeProtocol& ChallengeProtocol_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ChallengeProtocol;

  struct Challenge {
    typedef _CORBA_ConstrType_Variable_Var<Challenge> _var_type;

    
    ChallengeProtocol challenge_protocol;

    ::CORBA::ULong challenge_data_size;

    ::CORBA::Any challenge_data;

  

    void operator>>= (cdrStream &) const;
    void operator<<= (cdrStream &);
  };

  typedef Challenge::_var_type Challenge_var;

  typedef _CORBA_ConstrType_Variable_OUT_arg< Challenge,Challenge_var > Challenge_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Challenge;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LicenseHandle;

  typedef ::CORBA::Any LicenseHandle;
  typedef ::CORBA::Any_var LicenseHandle_var;
  typedef ::CORBA::Any_out LicenseHandle_out;

#ifndef __CosLicensingManager_mProducerSpecificLicenseService__
#define __CosLicensingManager_mProducerSpecificLicenseService__

  class ProducerSpecificLicenseService;
  class _objref_ProducerSpecificLicenseService;
  class _impl_ProducerSpecificLicenseService;
  
  typedef _objref_ProducerSpecificLicenseService* ProducerSpecificLicenseService_ptr;
  typedef ProducerSpecificLicenseService_ptr ProducerSpecificLicenseServiceRef;

  class ProducerSpecificLicenseService_Helper {
  public:
    typedef ProducerSpecificLicenseService_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ProducerSpecificLicenseService, ProducerSpecificLicenseService_Helper> ProducerSpecificLicenseService_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ProducerSpecificLicenseService,ProducerSpecificLicenseService_Helper > ProducerSpecificLicenseService_out;

#endif

  // interface ProducerSpecificLicenseService
  class ProducerSpecificLicenseService {
  public:
    // Declarations for this interface type.
    typedef ProducerSpecificLicenseService_ptr _ptr_type;
    typedef ProducerSpecificLicenseService_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_ProducerSpecificLicenseService :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    LicenseHandle* start_use(const char* component_name, const char* component_version, ::CosPropertyService::PropertySet_ptr license_use_context, ::CosEventComm::PushConsumer_ptr call_back, ::CosLicensingManager::Challenge& Challenge);
    void check_use(const ::CosLicensingManager::LicenseHandle& handle, ::CosPropertyService::PropertySet_ptr license_use_context, ::CORBA::ULong& recommended_check_interval, ::CosLicensingManager::Action_t_out action_to_be_taken, ::CosLicensingManager::Challenge& Challenge);
    void end_use(const ::CosLicensingManager::LicenseHandle& handle, ::CosPropertyService::PropertySet_ptr license_use_context, ::CosLicensingManager::Challenge& Challenge);
    char* producer_contact_info();
    char* producer_specific_license_service_info();

    inline _objref_ProducerSpecificLicenseService()  { _PR_setobj(0); }  // nil
    _objref_ProducerSpecificLicenseService(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_ProducerSpecificLicenseService();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_ProducerSpecificLicenseService(const _objref_ProducerSpecificLicenseService&);
    _objref_ProducerSpecificLicenseService& operator = (const _objref_ProducerSpecificLicenseService&);
    // not implemented

    friend class ProducerSpecificLicenseService;
  };

  class _pof_ProducerSpecificLicenseService : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_ProducerSpecificLicenseService() : _OMNI_NS(proxyObjectFactory)(ProducerSpecificLicenseService::_PD_repoId) {}
    virtual ~_pof_ProducerSpecificLicenseService();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_ProducerSpecificLicenseService :
    public virtual omniServant
  {
  public:
    virtual ~_impl_ProducerSpecificLicenseService();

    virtual LicenseHandle* start_use(const char* component_name, const char* component_version, ::CosPropertyService::PropertySet_ptr license_use_context, ::CosEventComm::PushConsumer_ptr call_back, ::CosLicensingManager::Challenge& Challenge) = 0;
    virtual void check_use(const ::CosLicensingManager::LicenseHandle& handle, ::CosPropertyService::PropertySet_ptr license_use_context, ::CORBA::ULong& recommended_check_interval, ::CosLicensingManager::Action_t_out action_to_be_taken, ::CosLicensingManager::Challenge& Challenge) = 0;
    virtual void end_use(const ::CosLicensingManager::LicenseHandle& handle, ::CosPropertyService::PropertySet_ptr license_use_context, ::CosLicensingManager::Challenge& Challenge) = 0;
    virtual char* producer_contact_info() = 0;
    virtual char* producer_specific_license_service_info() = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ProducerSpecificLicenseService;

#ifndef __CosLicensingManager_mLicenseServiceManager__
#define __CosLicensingManager_mLicenseServiceManager__

  class LicenseServiceManager;
  class _objref_LicenseServiceManager;
  class _impl_LicenseServiceManager;
  
  typedef _objref_LicenseServiceManager* LicenseServiceManager_ptr;
  typedef LicenseServiceManager_ptr LicenseServiceManagerRef;

  class LicenseServiceManager_Helper {
  public:
    typedef LicenseServiceManager_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_LicenseServiceManager, LicenseServiceManager_Helper> LicenseServiceManager_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_LicenseServiceManager,LicenseServiceManager_Helper > LicenseServiceManager_out;

#endif

  // interface LicenseServiceManager
  class LicenseServiceManager {
  public:
    // Declarations for this interface type.
    typedef LicenseServiceManager_ptr _ptr_type;
    typedef LicenseServiceManager_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_LicenseServiceManager :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    ProducerSpecificLicenseService_ptr obtain_producer_specific_license_service(const char* producer_name, ::CosLicensingManager::Challenge& Challenge);

    inline _objref_LicenseServiceManager()  { _PR_setobj(0); }  // nil
    _objref_LicenseServiceManager(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_LicenseServiceManager();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_LicenseServiceManager(const _objref_LicenseServiceManager&);
    _objref_LicenseServiceManager& operator = (const _objref_LicenseServiceManager&);
    // not implemented

    friend class LicenseServiceManager;
  };

  class _pof_LicenseServiceManager : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_LicenseServiceManager() : _OMNI_NS(proxyObjectFactory)(LicenseServiceManager::_PD_repoId) {}
    virtual ~_pof_LicenseServiceManager();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_LicenseServiceManager :
    public virtual omniServant
  {
  public:
    virtual ~_impl_LicenseServiceManager();

    virtual ProducerSpecificLicenseService_ptr obtain_producer_specific_license_service(const char* producer_name, ::CosLicensingManager::Challenge& Challenge) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LicenseServiceManager;

_CORBA_MODULE_END



_CORBA_MODULE POA_CosLicensingManager
_CORBA_MODULE_BEG

  class ProducerSpecificLicenseService :
    public virtual CosLicensingManager::_impl_ProducerSpecificLicenseService,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~ProducerSpecificLicenseService();

    inline ::CosLicensingManager::ProducerSpecificLicenseService_ptr _this() {
      return (::CosLicensingManager::ProducerSpecificLicenseService_ptr) _do_this(::CosLicensingManager::ProducerSpecificLicenseService::_PD_repoId);
    }
  };

  class LicenseServiceManager :
    public virtual CosLicensingManager::_impl_LicenseServiceManager,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~LicenseServiceManager();

    inline ::CosLicensingManager::LicenseServiceManager_ptr _this() {
      return (::CosLicensingManager::LicenseServiceManager_ptr) _do_this(::CosLicensingManager::LicenseServiceManager::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_CosLicensingManager
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

void operator<<=(::CORBA::Any& _a, const CosLicensingManager::InvalidProducer& _s);
void operator<<=(::CORBA::Any& _a, const CosLicensingManager::InvalidProducer* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLicensingManager::InvalidProducer*& _sp);

void operator<<=(::CORBA::Any& _a, const CosLicensingManager::InvalidParameter& _s);
void operator<<=(::CORBA::Any& _a, const CosLicensingManager::InvalidParameter* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLicensingManager::InvalidParameter*& _sp);

void operator<<=(::CORBA::Any& _a, const CosLicensingManager::ComponentNotRegistered& _s);
void operator<<=(::CORBA::Any& _a, const CosLicensingManager::ComponentNotRegistered* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLicensingManager::ComponentNotRegistered*& _sp);

inline void operator >>=(CosLicensingManager::ActionRequired _e, cdrStream& s) {
  ::operator>>=((::CORBA::ULong)_e, s);
}

inline void operator <<= (CosLicensingManager::ActionRequired& _e, cdrStream& s) {
  ::CORBA::ULong _0RL_e;
  ::operator<<=(_0RL_e,s);
  if (_0RL_e <= CosLicensingManager::terminate) {
    _e = (CosLicensingManager::ActionRequired) _0RL_e;
  }
  else {
    OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
                  (::CORBA::CompletionStatus)s.completion());
  }
}

void operator<<=(::CORBA::Any& _a, CosLicensingManager::ActionRequired _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::ActionRequired& _s);

inline void operator >>=(CosLicensingManager::Answer _e, cdrStream& s) {
  ::operator>>=((::CORBA::ULong)_e, s);
}

inline void operator <<= (CosLicensingManager::Answer& _e, cdrStream& s) {
  ::CORBA::ULong _0RL_e;
  ::operator<<=(_0RL_e,s);
  if (_0RL_e <= CosLicensingManager::no) {
    _e = (CosLicensingManager::Answer) _0RL_e;
  }
  else {
    OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
                  (::CORBA::CompletionStatus)s.completion());
  }
}

void operator<<=(::CORBA::Any& _a, CosLicensingManager::Answer _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::Answer& _s);

extern void operator<<=(::CORBA::Any& _a, const CosLicensingManager::Action_t& _s);
extern void operator<<=(::CORBA::Any& _a, CosLicensingManager::Action_t* _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::Action_t*& _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLicensingManager::Action_t*& _sp);

extern void operator<<=(::CORBA::Any& _a, const CosLicensingManager::ChallengeData& _s);
extern void operator<<=(::CORBA::Any& _a, CosLicensingManager::ChallengeData* _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::ChallengeData*& _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLicensingManager::ChallengeData*& _sp);

inline void operator >>=(CosLicensingManager::ChallengeProtocol _e, cdrStream& s) {
  ::operator>>=((::CORBA::ULong)_e, s);
}

inline void operator <<= (CosLicensingManager::ChallengeProtocol& _e, cdrStream& s) {
  ::CORBA::ULong _0RL_e;
  ::operator<<=(_0RL_e,s);
  if (_0RL_e <= CosLicensingManager::producer_defined) {
    _e = (CosLicensingManager::ChallengeProtocol) _0RL_e;
  }
  else {
    OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
                  (::CORBA::CompletionStatus)s.completion());
  }
}

void operator<<=(::CORBA::Any& _a, CosLicensingManager::ChallengeProtocol _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::ChallengeProtocol& _s);

extern void operator<<=(::CORBA::Any& _a, const CosLicensingManager::Challenge& _s);
extern void operator<<=(::CORBA::Any& _a, CosLicensingManager::Challenge* _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::Challenge*& _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLicensingManager::Challenge*& _sp);

void operator<<=(::CORBA::Any& _a, CosLicensingManager::ProducerSpecificLicenseService_ptr _s);
void operator<<=(::CORBA::Any& _a, CosLicensingManager::ProducerSpecificLicenseService_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::ProducerSpecificLicenseService_ptr& _s);

void operator<<=(::CORBA::Any& _a, CosLicensingManager::LicenseServiceManager_ptr _s);
void operator<<=(::CORBA::Any& _a, CosLicensingManager::LicenseServiceManager_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLicensingManager::LicenseServiceManager_ptr& _s);



inline void
CosLicensingManager::ProducerSpecificLicenseService::_marshalObjRef(::CosLicensingManager::ProducerSpecificLicenseService_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
CosLicensingManager::LicenseServiceManager::_marshalObjRef(::CosLicensingManager::LicenseServiceManager_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosLicensingManager
#endif

#endif  // __CosLicensingManager_hh__