~ubuntu-branches/debian/sid/openchange/sid

« back to all changes in this revision

Viewing changes to mapiproxy/libmapiserver/libmapiserver_oxomsg.c

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-12 20:07:57 UTC
  • mfrom: (11 sid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20120412200757-k933d9trljmxj1l4
Tags: 1:1.0-4
* openchangeserver: Add dependency on openchangeproxy.
* Rebuild against newer version of Samba 4.
* Use dpkg-buildflags.
* Migrate to Git, update Vcs-Git header.
* Switch to debhelper 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
}
80
80
 
81
81
/**
 
82
   \details Calculate TransportSend (0x4a) Rop size
 
83
 
 
84
   \param response pointer to the TransportSend EcDoRpc_MAPI_REPL
 
85
   structure
 
86
 
 
87
   \return Size of TransportSend response
 
88
 */
 
89
_PUBLIC_ uint16_t libmapiserver_RopTransportSend_size(struct EcDoRpc_MAPI_REPL *response)
 
90
{
 
91
        uint16_t        size = SIZE_DFLT_MAPI_RESPONSE;
 
92
 
 
93
        if (!response || response->error_code) {
 
94
                return size;
 
95
        }
 
96
 
 
97
        size += SIZE_DFLT_ROPTRANSPORTSEND;
 
98
        if (!response->u.mapi_TransportSend.NoPropertiesReturned) {
 
99
                abort();
 
100
        }
 
101
 
 
102
        /* The length of the strings is variable, but given by the size parameter */
 
103
        /* size += response->u.mapi_AddressTypes.size; */
 
104
 
 
105
        return size;
 
106
}
 
107
 
 
108
/**
82
109
   \details Calculate GetTransportFolder (0x6d) ROP size
83
110
 
84
111
   \param response pointer to the GetTransportFolder EcDoRpc_MAPI_REPL structure