~ubuntu-branches/ubuntu/oneiric/osptoolkit/oneiric

« back to all changes in this revision

Viewing changes to include/osp/ospcapind.h

  • Committer: Bazaar Package Importer
  • Author(s): TransNexus, Inc.
  • Date: 2007-12-30 20:37:26 UTC
  • Revision ID: james.westby@ubuntu.com-20071230203726-dysah2e93yqd3vbp
Tags: upstream-3.4.2
ImportĀ upstreamĀ versionĀ 3.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**************************************************************************
 
2
*** COPYRIGHT (c) 2002 by TransNexus, Inc.                              ***
 
3
***                                                                     ***
 
4
*** This software is property of TransNexus, Inc.                       ***
 
5
*** This software is freely available under license from TransNexus.    ***
 
6
*** The license terms and conditions for free use of this software by   ***
 
7
*** third parties are defined in the OSP Toolkit Software License       ***
 
8
*** Agreement (LICENSE.txt).  Any use of this software by third         ***
 
9
*** parties, which does not comply with the terms and conditions of the ***
 
10
*** OSP Toolkit Software License Agreement is prohibited without        ***
 
11
*** the prior, express, written consent of TransNexus, Inc.             ***
 
12
***                                                                     ***
 
13
*** Thank you for using the OSP ToolKit(TM).  Please report any bugs,   ***
 
14
*** suggestions or feedback to support@transnexus.com                   ***
 
15
***                                                                     ***
 
16
**************************************************************************/
 
17
 
 
18
 
 
19
 
 
20
 
 
21
 
 
22
 
 
23
 
 
24
/*
 
25
 *  ospacapind.h - OSP capabiliti indication objects
 
26
 */
 
27
 
 
28
#ifndef _OSPACAPIND_H
 
29
#define _OSPACAPIND_H
 
30
 
 
31
#include "osp/osp.h"
 
32
#include "osp/ospxmlelem.h"
 
33
#include "osp/ospmsg.h"
 
34
#include "osp/ospaltinfo.h"
 
35
#include "osp/osptrans.h"
 
36
 
 
37
 
 
38
 
 
39
typedef struct
 
40
{
 
41
    OSPTTIME          ospmTimestamp;
 
42
    unsigned char    *ospmMessageId;
 
43
    unsigned char    *ospmComponentId;
 
44
    OSPTLIST          ospmDeviceInfo;
 
45
    unsigned          ospmAlmostOutOfResources;
 
46
    OSPTLIST          ospmSrcAlternate;
 
47
}
 
48
OSPTCAPIND;
 
49
 
 
50
 
 
51
#ifdef __cplusplus
 
52
extern "C" 
 
53
{
 
54
#endif
 
55
 
 
56
    /*-----------------------------------------------------------------------*
 
57
     *  function prototypes
 
58
     *-----------------------------------------------------------------------*/
 
59
    unsigned       OSPPGenerateUniqueId(OSPTTRANS*, unsigned char **);
 
60
    unsigned       OSPPCapIndNew(OSPTCAPIND**, OSPTTRANS*, const char*, const char *, const char*, unsigned);
 
61
    void           OSPPCapIndDelete(OSPTCAPIND **);
 
62
  int            OSPPCapIndToElement(OSPTCAPIND *, OSPTXMLELEM **);
 
63
 
 
64
#ifdef __cplusplus
 
65
}
 
66
#endif
 
67
 
 
68
#endif /* _OSPACAPIND_H */