~ubuntu-branches/ubuntu/utopic/sblim-sfcc/utopic-proposed

« back to all changes in this revision

Viewing changes to frontend/sfcc/conn.h

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-08-19 14:41:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090819144155-jb46y5kmluacii70
Tags: 2.2.0-0ubuntu1
* New upstream version.
* debian/libcimcclient0.install: Ship missing libcmpisfcc library
* debian/control:
  - Switch to libcurl4-openssl-dev to match the rest of the SBLIM stack
  - Bump debhelper depend to >=5 to match debian/compat
  - Fix section names, add missing ${misc:Depends}
* debian/copyright: Add missing copyright notice
* debian/rules: Removed spurious DH_MAKESHLIBS argument

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _CONN_INFO_H
 
2
#define _CONN_INFO_H
 
3
 
 
4
#ifdef __cplusplus
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
struct _TimeoutControl {
 
9
  time_t   mTimestampStart;
 
10
  time_t   mTimestampLast;
 
11
  unsigned mFixups;
 
12
};
 
13
#ifndef LARGE_VOL_SUPPORT
 
14
struct _CMCIConnection {
 
15
    CMCIConnectionFT *ft;        
 
16
    CURL *mHandle;               // The handle to the curl object
 
17
    struct curl_slist *mHeaders; // The list of headers sent with each request
 
18
    UtilStringBuffer *mBody;     // The body of the request
 
19
    UtilStringBuffer *mUri;      // The uri of the request
 
20
    UtilStringBuffer *mUserPass; // The username/password used in authentication
 
21
    UtilStringBuffer *mResponse; // Used to store the HTTP response
 
22
    CMPIStatus        mStatus;   // returned request status (via HTTP trailers)               
 
23
    struct _TimeoutControl mTimeout; /* Used for timeout control */
 
24
};
 
25
#else
 
26
struct _CMCIConnection {
 
27
    CMCIConnectionFT *ft;        
 
28
    CURL *mHandle;               // The handle to the curl object
 
29
    struct curl_slist *mHeaders; // The list of headers sent with each request
 
30
    UtilStringBuffer *mBody;     // The body of the request
 
31
    UtilStringBuffer *mUri;      // The uri of the request
 
32
    UtilStringBuffer *mUserPass; // The username/password used in authentication
 
33
    UtilStringBuffer *mResponse; // Used to store the HTTP response
 
34
    CMPIStatus        mStatus;   // returned request status (via HTTP trailers)               
 
35
    struct _TimeoutControl mTimeout; /* Used for timeout control */
 
36
    struct asyncrespcntl   asynRCntl  ;/* sync response                   */ 
 
37
};
 
38
 
 
39
#endif /* endif LARGE_VOL_SUPPORT */
 
40
#ifdef __cplusplus
 
41
 }
 
42
 
 
43
#endif
 
44
 
 
45
#endif
 
46