summaryrefslogtreecommitdiff
path: root/TAO/tao/Services.pidl
blob: 05fed8769c6d3b630a2fb95a14f3607ba632160d (plain)
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
// -*- IDL -*-
// $Id$

#ifndef TAO_CORBA_SERVICES_IDL
#define TAO_CORBA_SERVICES_IDL

#include "tao/OctetSeq.pidl"

#pragma prefix "omg.org"

module CORBA
{
  typedef unsigned short ServiceType;
  typedef unsigned long ServiceOption;
  typedef unsigned long ServiceDetailType;
  typedef OctetSeq ServiceDetailData;
  typedef sequence<ServiceOption> ServiceOptionSeq;

  const ServiceType Security = 1;

  struct ServiceDetail
  {
    ServiceDetailType service_detail_type;
    ServiceDetailData service_detail;
  };

  typedef sequence<ServiceDetail> ServiceDetailSeq;

  struct ServiceInformation
  {
    ServiceOptionSeq service_options;
    ServiceDetailSeq service_details;
  };
};

#endif  /* TAO_CORBA_SERVICES_IDL */