12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229 |
- /*
- * Copyright 2005 - 2016 Zarafa and its licensors
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
- //gsoap ns service name: KCmd
- //gsoap ns service style: rpc
- //gsoap ns service encoding: encoded
- //gsoap ns service location: http://localhost:236/
- //gsoap ns service namespace: urn:zarafa
- //gsoap ns service method-action: KTRAPMARKER ""
- #import "xop.h"
- #import "xmlmime.h"
- struct hiloLong {
- int hi;
- unsigned int lo;
- };
- // This is actually implemented in SOAP as a base64, not as an array of unsigned bytes
- struct xsd__base64Binary {
- unsigned char *__ptr;
- int __size;
- };
- struct xsd__Binary {
- _xop__Include xop__Include; // attachment
- @char *xmlmime__contentType; // and its contentType
- xsd__Binary();
- };
- typedef struct xsd__base64Binary entryId;
- struct mv_i2 {
- short int *__ptr;
- int __size;
- };
- struct mv_long {
- unsigned int *__ptr;
- int __size;
- };
- struct mv_r4 {
- float *__ptr;
- int __size;
- };
- struct mv_double {
- double *__ptr;
- int __size;
- };
- struct mv_string8 {
- char**__ptr;
- int __size;
- };
- struct mv_hiloLong {
- struct hiloLong *__ptr;
- int __size;
- };
- struct mv_binary {
- struct xsd__base64Binary *__ptr;
- int __size;
- };
- struct mv_i8 {
- LONG64 *__ptr;
- int __size;
- };
- struct restrictTable;
- union propValData {
- short int i; /* case PT_I2 */
- unsigned int ul; /* case PT_ULONG */
- float flt; /* case PT_R4 */
- double dbl; /* case PT_DOUBLE */
- bool b; /* case PT_BOOLEAN */
- char* lpszA; /* case PT_STRING8 */
- struct hiloLong * hilo;
- struct xsd__base64Binary * bin;
- LONG64 li; /* case PT_I8 */
- struct mv_i2 mvi; /* case PT_MV_I2 */
- struct mv_long mvl; /* case PT_MV_LONG */
- struct mv_r4 mvflt; /* case PT_MV_R4 */
- struct mv_double mvdbl; /* case PT_MV_DOUBLE */
- struct mv_string8 mvszA; /* case PT_MV_STRING8 */
- struct mv_hiloLong mvhilo;
- struct mv_binary mvbin;
- struct mv_i8 mvli; /* case PT_MV_I8 */
- struct restrictTable *res;
- struct actions *actions;
- };
- struct propVal {
- unsigned int ulPropTag;
- int __union;
- union propValData Value;
- propVal();
- };
- struct propValArray {
- struct propVal *__ptr;
- int __size;
- propValArray();
- propValArray(struct propVal *, int = 0);
- };
- struct propTagArray {
- unsigned int *__ptr;
- int __size;
- propTagArray();
- propTagArray(unsigned int *, int = 0);
- };
- struct entryList {
- int __size;
- entryId *__ptr;
- };
- struct saveObject {
- int __size; /* # children */
- struct saveObject *__ptr; /* child objects */
- struct propTagArray delProps;
- struct propValArray modProps;
- bool bDelete; /* delete this object completely */
- unsigned int ulClientId; /* id for the client (PR_ROWID or PR_ATTACH_NUM, otherwise unused) */
- unsigned int ulServerId; /* hierarchyid of the server (0 for new item) */
- unsigned int ulObjType;
- struct entryList *lpInstanceIds; /* Single Instance Id (NULL for new item, or if Single Instancing is unknown) */
- };
- struct ns:loadObjectResponse {
- unsigned int er;
- struct saveObject sSaveObject;
- };
- struct ns:logonResponse {
- unsigned int er;
- ULONG64 ulSessionId;
- char *lpszVersion;
- unsigned int ulCapabilities;
- struct xsd__base64Binary sLicenseResponse;
- struct xsd__base64Binary sServerGuid;
- };
- struct ns:ssoLogonResponse {
- unsigned int er;
- ULONG64 ulSessionId;
- char *lpszVersion;
- unsigned int ulCapabilities;
- struct xsd__base64Binary *lpOutput;
- struct xsd__base64Binary sLicenseResponse;
- struct xsd__base64Binary sServerGuid;
- };
- struct ns:getStoreResponse {
- unsigned int er;
- entryId sStoreId; // id of store
- entryId sRootId; // root folder id of store
- struct xsd__base64Binary guid; // guid of store
- char *lpszServerPath;
- };
- struct ns:getStoreNameResponse {
- char *lpszStoreName;
- unsigned int er;
- };
- struct ns:getStoreTypeResponse {
- unsigned int ulStoreType;
- unsigned int er;
- };
- // Warning, this is synched with MAPI's types!
- enum SortOrderType { EC_TABLE_SORT_ASCEND=0, EC_TABLE_SORT_DESCEND, EC_TABLE_SORT_COMBINE, EC_TABLE_SORT_CATEG_MAX = 4, EC_TABLE_SORT_CATEG_MIN = 8};
- struct sortOrder {
- unsigned int ulPropTag;
- unsigned int ulOrder;
- sortOrder();
- sortOrder(unsigned int, unsigned int = 0);
- };
- struct sortOrderArray {
- struct sortOrder *__ptr;
- int __size;
- sortOrderArray();
- sortOrderArray(struct sortOrder *, int = 0);
- };
- struct ns:readPropsResponse {
- unsigned int er;
- struct propTagArray aPropTag;
- struct propValArray aPropVal;
- };
- struct ns:loadPropResponse {
- unsigned int er;
- struct propVal *lpPropVal;
- };
- struct ns:createFolderResponse {
- unsigned int er;
- entryId sEntryId;
- };
- struct ns:tableOpenResponse {
- unsigned int er;
- unsigned int ulTableId;
- //tableOpenResponse();
- };
- struct tableOpenRequest {
- entryId sEntryId;
- unsigned int ulTableType;
- unsigned int ulType;
- unsigned int ulFlags;
- tableOpenRequest();
- };
- struct tableSortRequest {
- struct sortOrderArray sSortOrder;
- unsigned int ulCategories;
- unsigned int ulExpanded;
- };
- struct tableQueryRowsRequest {
- unsigned int ulCount;
- unsigned int ulFlags;
- };
- struct rowSet {
- struct propValArray *__ptr;
- int __size;
- };
- struct ns:tableQueryRowsResponse {
- unsigned int er;
- struct rowSet sRowSet;
- };
- struct ns:tableQueryColumnsResponse {
- unsigned int er;
- struct propTagArray sPropTagArray;
- };
- struct ns:tableGetRowCountResponse {
- unsigned int er;
- unsigned int ulCount;
- unsigned int ulRow;
- };
- struct ns:tableSeekRowResponse {
- unsigned int er;
- int lRowsSought; // may be negative
- };
- struct ns:tableBookmarkResponse {
- unsigned int er;
- unsigned int ulbkPosition;
- };
- struct ns:tableExpandRowResponse {
- unsigned int er;
- struct rowSet rowSet;
- unsigned int ulMoreRows;
- };
- struct ns:tableCollapseRowResponse {
- unsigned int er;
- unsigned int ulRows;
- };
- struct ns:tableGetCollapseStateResponse {
- struct xsd__base64Binary sCollapseState;
- unsigned int er;
- };
- struct ns:tableSetCollapseStateResponse {
- unsigned int ulBookmark;
- unsigned int er;
- };
- struct tableMultiRequest {
- unsigned int ulTableId;
- unsigned int ulFlags;
- struct tableOpenRequest *lpOpen; // Open
- struct propTagArray *lpSetColumns; // SetColumns
- struct restrictTable *lpRestrict; // Restrict
- struct tableSortRequest *lpSort; // Sort
- struct tableQueryRowsRequest *lpQueryRows; // QueryRows
- tableMultiRequest();
- };
- struct ns:tableMultiResponse {
- unsigned int er;
- unsigned int ulTableId;
- struct rowSet sRowSet; // QueryRows
- //tableMultiResponse();
- };
- struct categoryState {
- struct propValArray sProps;
- unsigned int fExpanded;
- };
- struct categoryStateArray {
- int __size;
- struct categoryState* __ptr;
- };
- struct collapseState {
- struct categoryStateArray sCategoryStates;
- struct propValArray sBookMarkProps;
- };
-
- struct notificationObject {
- entryId* pEntryId;
- unsigned int ulObjType;
- entryId* pParentId;
- entryId* pOldId;
- entryId* pOldParentId;
- struct propTagArray* pPropTagArray;
- };
- struct notificationTable{
- unsigned int ulTableEvent;
- unsigned int ulObjType;
- unsigned int hResult;
- struct propVal propIndex;
- struct propVal propPrior;
- struct propValArray* pRow;
- };
- struct notificationNewMail {
- entryId* pEntryId;
- entryId* pParentId;
- char* lpszMessageClass;
- unsigned int ulMessageFlags;
- };
- struct notificationICS {
- struct xsd__base64Binary *pSyncState;
- unsigned int ulChangeType;
- notificationICS();
- };
- struct notification {
- unsigned int ulConnection;
- unsigned int ulEventType;
- struct notificationObject *obj;
- struct notificationTable *tab;
- struct notificationNewMail *newmail;
- struct notificationICS *ics;
- notification();
- };
- struct notificationArray {
- int __size;
- struct notification *__ptr;
- };
- struct ns:notifyResponse {
- struct notificationArray *pNotificationArray;
- unsigned int er;
- };
- struct notifySyncState {
- unsigned int ulSyncId;
- unsigned int ulChangeId;
- notifySyncState();
- notifySyncState(unsigned int, unsigned int = 0);
- };
- struct notifySubscribe {
- unsigned int ulConnection;
- struct xsd__base64Binary sKey;
- unsigned int ulEventMask;
- struct notifySyncState sSyncState;
- notifySubscribe();
- };
- struct notifySubscribeArray {
- int __size;
- struct notifySubscribe *__ptr;
- notifySubscribeArray();
- };
- #define TABLE_NOADVANCE 1
- struct rights {
- unsigned int ulUserid;
- unsigned int ulType;
- unsigned int ulRights;
- unsigned int ulState;
- entryId sUserId;
- rights();
- rights(unsigned int, unsigned int = 0, unsigned int = 0, unsigned int = 0);
- };
- struct rightsArray {
- int __size;
- struct rights *__ptr;
- };
- struct ns:rightsResponse {
- struct rightsArray *pRightsArray;
- unsigned int er;
- };
- struct userobject {
- char* lpszName;
- unsigned int ulId;
- entryId sId;
- unsigned int ulType;
- };
- struct userobjectArray {
- int __size;
- struct userobject *__ptr;
- };
- struct ns:userobjectResponse {
- struct userobjectArray *pUserObjectArray;
- unsigned int er;
- };
- struct ns:getOwnerResponse {
- unsigned int ulOwner;
- entryId sOwner;
- unsigned int er;
- };
- struct statObjectResponse {
- unsigned int ulSize;
- unsigned int ftCreated;
- unsigned int ftModified;
- unsigned int er;
- };
- struct namedProp {
- unsigned int *lpId;
- char *lpString;
- struct xsd__base64Binary *lpguid;
- };
- struct namedPropArray {
- int __size;
- struct namedProp * __ptr;
- };
- struct ns:getIDsFromNamesResponse {
- struct propTagArray lpsPropTags;
- unsigned int er;
- };
- struct ns:getNamesFromIDsResponse {
- struct namedPropArray lpsNames;
- unsigned int er;
- };
- struct restrictTable;
- struct restrictAnd {
- int __size;
- struct restrictTable **__ptr;
- };
- struct restrictBitmask {
- unsigned int ulMask;
- unsigned int ulPropTag;
- unsigned int ulType;
- };
- struct restrictCompare {
- unsigned int ulPropTag1;
- unsigned int ulPropTag2;
- unsigned int ulType;
- };
- struct restrictContent {
- unsigned int ulFuzzyLevel;
- unsigned int ulPropTag;
- struct propVal *lpProp;
- };
- struct restrictExist {
- unsigned int ulPropTag;
- };
- struct restrictComment {
- struct restrictTable *lpResTable;
- struct propValArray sProps;
- };
- struct restrictNot {
- struct restrictTable *lpNot;
- };
- struct restrictOr {
- int __size;
- struct restrictTable **__ptr;
- };
- struct restrictProp {
- unsigned int ulType;
- unsigned int ulPropTag;
- struct propVal *lpProp;
- };
- struct restrictSize {
- unsigned int ulType;
- unsigned int ulPropTag;
- unsigned int cb;
- };
- struct restrictSub {
- unsigned int ulSubObject;
- struct restrictTable *lpSubObject;
- };
- struct restrictTable {
- unsigned int ulType;
- struct restrictAnd *lpAnd;
- struct restrictBitmask *lpBitmask;
- struct restrictCompare *lpCompare;
- struct restrictContent *lpContent;
- struct restrictExist *lpExist;
- struct restrictNot *lpNot;
- struct restrictOr *lpOr;
- struct restrictProp *lpProp;
- struct restrictSize *lpSize;
- struct restrictComment *lpComment;
- struct restrictSub *lpSub;
- };
- struct ns:tableGetSearchCriteriaResponse {
- struct restrictTable *lpRestrict;
- struct entryList *lpFolderIDs;
- unsigned int ulFlags;
- unsigned int er;
- };
- struct receiveFolder {
- entryId sEntryId;
- char* lpszAExplicitClass;
- };
- struct ns:receiveFolderResponse {
- struct receiveFolder sReceiveFolder;
- unsigned int er;
- };
- struct receiveFoldersArray {
- int __size;
- struct receiveFolder * __ptr;
- };
- struct ns:receiveFolderTableResponse {
- struct receiveFoldersArray sFolderArray;
- unsigned int er;
- };
- struct searchCriteria {
- struct restrictTable *lpRestrict;
- struct entryList *lpFolders;
- unsigned int ulFlags;
- };
- struct propmapPair {
- unsigned int ulPropId;
- char *lpszValue;
- };
- struct propmapPairArray {
- int __size;
- struct propmapPair *__ptr;
- };
- struct propmapMVPair {
- unsigned int ulPropId;
- struct mv_string8 sValues;
- };
- struct propmapMVPairArray {
- int __size;
- struct propmapMVPair *__ptr;
- };
- struct user {
- unsigned int ulUserId;
- char *lpszUsername;
- char *lpszPassword;
- char *lpszMailAddress;
- char *lpszFullName;
- char *lpszServername;
- unsigned int ulIsNonActive;
- unsigned int ulIsAdmin;
- unsigned int ulIsABHidden;
- unsigned int ulCapacity;
- unsigned int ulObjClass;
- struct propmapPairArray *lpsPropmap;
- struct propmapMVPairArray *lpsMVPropmap;
- entryId sUserId;
- user();
- };
- struct userArray {
- int __size;
- struct user *__ptr;
- };
- struct ns:userListResponse {
- struct userArray sUserArray;
- unsigned int er;
- };
- struct ns:getUserResponse {
- struct user *lpsUser;
- unsigned int er;
- };
- struct ns:setUserResponse {
- unsigned int ulUserId;
- entryId sUserId;
- unsigned int er;
- };
- struct group {
- unsigned int ulGroupId;
- entryId sGroupId;
- char *lpszGroupname;
- char *lpszFullname;
- char *lpszFullEmail;
- unsigned int ulIsABHidden;
- struct propmapPairArray *lpsPropmap;
- struct propmapMVPairArray *lpsMVPropmap;
- group();
- };
- struct groupArray {
- int __size;
- struct group *__ptr;
- };
- struct ns:groupListResponse {
- struct groupArray sGroupArray;
- unsigned int er;
- };
- struct ns:getGroupResponse {
- struct group *lpsGroup;
- unsigned int er;
- };
- struct ns:setGroupResponse {
- unsigned int ulGroupId;
- entryId sGroupId;
- unsigned int er;
- };
- struct company {
- unsigned int ulCompanyId;
- unsigned int ulAdministrator;
- entryId sCompanyId;
- entryId sAdministrator;
- char *lpszCompanyname;
- char *lpszServername;
- unsigned int ulIsABHidden;
- struct propmapPairArray *lpsPropmap;
- struct propmapMVPairArray *lpsMVPropmap;
- company();
- };
- struct companyArray {
- int __size;
- struct company *__ptr;
- };
- struct ns:companyListResponse {
- struct companyArray sCompanyArray;
- unsigned int er;
- };
- struct ns:getCompanyResponse {
- struct company *lpsCompany;
- unsigned int er;
- };
- struct ns:setCompanyResponse {
- unsigned int ulCompanyId;
- entryId sCompanyId;
- unsigned int er;
- };
- struct ns:resolveUserStoreResponse {
- unsigned int ulUserId;
- entryId sUserId;
- entryId sStoreId;
- struct xsd__base64Binary guid;
- unsigned int er;
- char *lpszServerPath;
- };
- struct querySubMessageResponse {
- entryId sEntryId;
- unsigned int er;
- };
- struct userProfileResponse {
- char *szProfileName;
- char *szProfileAddress;
- unsigned int er;
- };
- struct ns:resolveCompanyResponse {
- unsigned int ulCompanyId;
- entryId sCompanyId;
- unsigned int er;
- };
- struct ns:resolveGroupResponse {
- unsigned int ulGroupId;
- entryId sGroupId;
- unsigned int er;
- };
- struct ns:resolveUserResponse {
- unsigned int ulUserId;
- entryId sUserId;
- unsigned int er;
- };
- struct readChunkResponse {
- struct xsd__base64Binary data;
- unsigned int er;
- };
- struct flagArray {
- int __size;
- unsigned int *__ptr;
- };
- struct ns:abResolveNamesResponse {
- struct rowSet sRowSet;
- struct flagArray aFlags;
- unsigned int er;
- };
- struct action {
- unsigned int acttype;
- unsigned int flavor;
- unsigned int flags;
- int __union;
- union _act {
- struct _moveCopy {
- struct xsd__base64Binary store;
- struct xsd__base64Binary folder;
- } moveCopy;
- struct _reply {
- struct xsd__base64Binary message;
- struct xsd__base64Binary guid;
- } reply;
- struct _defer {
- struct xsd__base64Binary bin;
- } defer;
- unsigned int bouncecode;
- struct rowSet *adrlist;
- struct propVal *prop;
- } act;
- };
- struct actions {
- struct action *__ptr;
- int __size;
- };
- struct quota {
- bool bUseDefaultQuota;
- bool bIsUserDefaultQuota;
- LONG64 llWarnSize;
- LONG64 llSoftSize;
- LONG64 llHardSize;
- };
- struct ns:quotaResponse {
- struct quota sQuota;
- unsigned int er;
- };
- struct ns:quotaStatus {
- LONG64 llStoreSize;
- unsigned int ulQuotaStatus;
- unsigned int er;
- };
- struct ns:messageStatus {
- unsigned int ulMessageStatus;
- unsigned int er;
- };
- struct icsChange {
- unsigned int ulChangeId;
- struct xsd__base64Binary sSourceKey;
- struct xsd__base64Binary sParentSourceKey;
- unsigned int ulChangeType;
- unsigned int ulFlags;
- };
- struct icsChangesArray {
- int __size;
- struct icsChange *__ptr;
- };
- struct ns:icsChangeResponse {
- struct icsChangesArray sChangesArray;
- unsigned int ulMaxChangeId;
- unsigned int er;
- };
- struct ns:setSyncStatusResponse {
- unsigned int ulSyncId;
- unsigned int er;
- };
- struct ns:getEntryIDFromSourceKeyResponse {
- entryId sEntryId;
- unsigned int er;
- };
- struct ns:getLicenseAuthResponse {
- struct xsd__base64Binary sAuthResponse;
- unsigned int er;
- };
- struct ns:resolvePseudoUrlResponse {
- char *lpszServerPath;
- bool bIsPeer;
- unsigned int er;
- //resolvePseudoUrlResponse();
- };
- struct licenseCapabilities {
- int __size;
- char **__ptr;
- };
- struct ns:getLicenseCapaResponse {
- struct licenseCapabilities sCapabilities;
- unsigned int er;
- };
- struct ns:getLicenseUsersResponse {
- unsigned int ulUsers;
- unsigned int er;
- };
- struct server {
- char *lpszName;
- char *lpszFilePath;
- char *lpszHttpPath;
- char *lpszSslPath;
- char *lpszPreferedPath;
- unsigned int ulFlags;
- };
- struct serverList {
- int __size;
- struct server *__ptr;
- };
- struct ns:getServerDetailsResponse {
- struct serverList sServerList;
- unsigned int er;
- //getServerDetailsResponse();
- };
- struct ns:getServerBehaviorResponse {
- unsigned int ulBehavior;
- unsigned int er;
- };
- struct sourceKeyPair {
- struct xsd__base64Binary sParentKey;
- struct xsd__base64Binary sObjectKey;
- };
- struct sourceKeyPairArray {
- int __size;
- struct sourceKeyPair *__ptr;
- };
- struct messageStream {
- unsigned int ulStep;
- struct propValArray sPropVals;
- struct xsd__Binary sStreamData;
- };
- struct messageStreamArray {
- int __size;
- struct messageStream *__ptr;
- };
- struct ns:exportMessageChangesAsStreamResponse {
- struct messageStreamArray sMsgStreams;
- unsigned int er;
- //exportMessageChangesAsStreamResponse();
- };
- struct ns:getChangeInfoResponse {
- struct propVal sPropPCL;
- struct propVal sPropCK;
- unsigned int er;
- //getChangeInfoResponse();
- };
- struct syncState {
- unsigned int ulSyncId;
- unsigned int ulChangeId;
- };
- struct syncStateArray {
- int __size;
- struct syncState *__ptr;
- };
- struct ns:getSyncStatesReponse {
- struct syncStateArray sSyncStates;
- unsigned int er;
- //getSyncstatesReponse */
- };
- struct ns:purgeDeferredUpdatesResponse {
- unsigned int ulDeferredRemaining;
- unsigned int er;
- };
- struct ns:userClientUpdateStatusResponse {
- unsigned int ulTrackId;
- time_t tUpdatetime;
- char *lpszCurrentversion;
- char *lpszLatestversion;
- char *lpszComputername;
- unsigned int ulStatus;
- unsigned int er;
- };
- struct ns:resetFolderCountResponse {
- unsigned int ulUpdates;
- unsigned int er;
- //resetFolderCountResponse();
- };
- //TableType flags for function ns__tableOpen
- #define TABLETYPE_MS 1 // MessageStore tables
- #define TABLETYPE_AB 2 // Addressbook tables
- #define TABLETYPE_SPOOLER 3 // Spooler tables
- #define TABLETYPE_MULTISTORE 4 // Multistore tables
- #define TABLETYPE_STATS_SYSTEM 5 // System stats
- #define TABLETYPE_STATS_SESSIONS 6 // Session stats
- #define TABLETYPE_STATS_USERS 7 // User stats
- #define TABLETYPE_STATS_COMPANY 8 // Company stats (hosted only)
- #define TABLETYPE_USERSTORES 9 // UserStore tables
- #define TABLETYPE_MAILBOX 10 // Mailbox Table
- #define TABLETYPE_STATS_SERVERS 11 // Servers table
- // Flags for struct tableMultiRequest
- #define TABLE_MULTI_CLEAR_RESTRICTION 0x1 // Clear table restriction
- #define fnevKopanoIcsChange (fnevExtended | 0x00000001)
- int ns__logon(char * szUsername, char * szPassword, char * szImpersonateUser, char * szVersion, unsigned int ulCapabilities, unsigned int ulFlags, struct xsd__base64Binary sLicenseReq, ULONG64 ullSessionGroup, char *szClientApp, char *szClientAppVersion, char *szClientAppMisc, struct ns:logonResponse *lpsLogonResponse);
- int ns__ssoLogon(ULONG64 ulSessionId, char *szUsername, char * szImpersonateUser, struct xsd__base64Binary *lpInput, char *clientVersion, unsigned int clientCaps, struct xsd__base64Binary sLicenseReq, ULONG64 ullSessionGroup, char *szClientApp, char *szClientAppVersion, char *szClientAppMisc, struct ns:ssoLogonResponse *lpsResponse);
- int ns__getStore(ULONG64 ulSessionId, entryId* lpsEntryId, struct ns:getStoreResponse *lpsResponse);
- int ns__getStoreName(ULONG64 ulSessionId, entryId sEntryId, struct ns:getStoreNameResponse* lpsResponse);
- int ns__getStoreType(ULONG64 ulSessionId, entryId sEntryId, struct ns:getStoreTypeResponse* lpsResponse);
- int ns__getPublicStore(ULONG64 ulSessionId, unsigned int ulFlags, struct ns:getStoreResponse *lpsResponse);
- int ns__logoff(ULONG64 ulSessionId, unsigned int *result);
- int ns__getRights(ULONG64 ulSessionId, entryId sEntryId, int ulType, struct ns:rightsResponse *lpsRightResponse);
- int ns__setRights(ULONG64 ulSessionId, entryId sEntryId, struct rightsArray *lpsrightsArray, unsigned int *result);
- int ns__getUserObjectList(ULONG64 ulSessionId, unsigned int ulCompanyId, entryId sCompanyId, int ulType, struct ns:userobjectResponse *lpsUserObjectResponse);
- /* loads a big prop from an object */
- int ns__loadProp(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulObjId, unsigned int ulPropTag, struct ns:loadPropResponse *lpsResponse);
- int ns__saveObject(ULONG64 ulSessionId, entryId sParentEntryId, entryId sEntryId, struct saveObject *lpsSaveObj, unsigned int ulFlags, unsigned int ulSyncId, struct ns:loadObjectResponse *lpsLoadObjectResponse);
- int ns__loadObject(ULONG64 ulSessionId, entryId sEntryId, struct notifySubscribe *lpsNotSubscribe, unsigned int ulFlags, struct ns:loadObjectResponse *lpsLoadObjectResponse);
- int ns__createFolder(ULONG64 ulSessionId, entryId sParentId, entryId* lpsNewEntryId, unsigned int ulType, char *szName, char *szComment, bool fOpenIfExists, unsigned int ulSyncId, struct xsd__base64Binary sOrigSourceKey, struct ns:createFolderResponse *lpsCreateFolderResponse);
- int ns__deleteObjects(ULONG64 ulSessionId, unsigned int ulFlags, struct entryList *aMessages, unsigned int ulSyncId, unsigned int *result);
- int ns__copyObjects(ULONG64 ulSessionId, struct entryList *aMessages, entryId sDestFolderId, unsigned int ulFlags, unsigned int ulSyncId, unsigned int *result);
- int ns__emptyFolder(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulFlags, unsigned int ulSyncId, unsigned int *result);
- int ns__deleteFolder(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulFlags, unsigned int ulSyncId, unsigned int *result);
- int ns__copyFolder(ULONG64 ulSessionId, entryId sEntryId, entryId sDestFolderId, char *lpszNewFolderName, unsigned int ulFlags, unsigned int ulSyncId, unsigned int *result);
- int ns__setReadFlags(ULONG64 ulSessionId, unsigned int ulFlags, entryId* lpsEntryId, struct entryList *lpMessages, unsigned int ulSyncId, unsigned int *result);
- int ns__setReceiveFolder(ULONG64 ulSessionId, entryId sStoreId, entryId* lpsEntryId, char* lpszMessageClass, unsigned int *result);
- int ns__getReceiveFolder(ULONG64 ulSessionId, entryId sStoreId, char* lpszMessageClass, struct ns:receiveFolderResponse *lpsReceiveFolder);
- int ns__getReceiveFolderTable(ULONG64 ulSessionId, entryId sStoreId, struct ns:receiveFolderTableResponse *lpsReceiveFolderTable);
- int ns__getMessageStatus(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulFlags, struct ns:messageStatus* lpsStatus);
- int ns__setMessageStatus(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulNewStatus, unsigned int ulNewStatusMask, unsigned int ulSyncId, struct ns:messageStatus* lpsOldStatus);
- int ns__getIDsFromNames(ULONG64 ulSessionId, struct namedPropArray *lpsNamedProps, unsigned int ulFlags, struct ns:getIDsFromNamesResponse *lpsResponse);
- int ns__getNamesFromIDs(ULONG64 ulSessionId, struct propTagArray *lpsPropTags, struct ns:getNamesFromIDsResponse *lpsResponse);
- int ns__notify(ULONG64 ulSessionId, struct notification sNotification, unsigned int *er);
- int ns__notifySubscribe(ULONG64 ulSessionId, struct notifySubscribe *notifySubscribe, unsigned int *result);
- int ns__notifySubscribeMulti(ULONG64 ulSessionId, struct notifySubscribeArray *notifySubscribeArray, unsigned int *result);
- int ns__notifyUnSubscribe(ULONG64 ulSessionId, unsigned int ulConnection, unsigned int *result);
- int ns__notifyUnSubscribeMulti(ULONG64 ulSessionId, struct mv_long *ulConnectionArray, unsigned int *result);
- int ns__notifyGetItems(ULONG64 ulSessionId, struct ns:notifyResponse *notifications);
- int ns__tableOpen(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulTableType, unsigned int ulType, unsigned int ulFlags, struct ns:tableOpenResponse *lpsTableOpenResponse);
- int ns__tableClose(ULONG64 ulSessionId, unsigned int ulTableId, unsigned int *result);
- int ns__tableSetColumns(ULONG64 ulSessionId, unsigned int ulTableId, struct propTagArray *aPropTag, unsigned int *result);
- int ns__tableQueryColumns(ULONG64 ulSessionId, unsigned int ulTableId, unsigned int ulFlags, struct ns:tableQueryColumnsResponse *lpsTableQueryColumnsResponse);
- int ns__tableSort(ULONG64 ulSessionId, unsigned int ulTableId, struct sortOrderArray *aSortOrder, unsigned int ulCategories, unsigned int ulExpanded, unsigned int *result);
- int ns__tableRestrict(ULONG64 ulSessionId, unsigned int ulTableId, struct restrictTable *lpRestrict, unsigned int *result);
- int ns__tableGetRowCount(ULONG64 ulSessionId, unsigned int ulTableId, struct ns:tableGetRowCountResponse *lpsTableGetRowCountResponse);
- int ns__tableQueryRows(ULONG64 ulSessionId, unsigned int ulTableId, unsigned int ulRowCount, unsigned int ulFlags, struct ns:tableQueryRowsResponse *lpsQueryRowsResponse);
- int ns__tableFindRow(ULONG64 ulSessionId, unsigned int ulTableId, unsigned int ulBookmark, unsigned int ulFlags, struct restrictTable *lpsRestrict, unsigned int *result);
- int ns__tableSeekRow(ULONG64 ulSessionId, unsigned int ulTableId, unsigned int ulBookmark, int lRowCount, struct ns:tableSeekRowResponse *lpsResponse);
- int ns__tableCreateBookmark(ULONG64 ulSessionId, unsigned int ulTableId, struct ns:tableBookmarkResponse *lpsResponse);
- int ns__tableFreeBookmark(ULONG64 ulSessionId, unsigned int ulTableId, unsigned int ulbkPosition, unsigned int *result);
- int ns__tableSetSearchCriteria(ULONG64 ulSessionId, entryId sEntryId, struct restrictTable *lpRestrict, struct entryList *lpFolders, unsigned int ulFlags, unsigned int *result);
- int ns__tableGetSearchCriteria(ULONG64 ulSessionId, entryId sEntryId, struct ns:tableGetSearchCriteriaResponse *lpsResponse);
- int ns__tableSetMultiStoreEntryIDs(ULONG64 ulSessionId, unsigned int ulTableId, struct entryList *aMessages, unsigned int *result);
- int ns__tableExpandRow(ULONG64 ulSessionId, unsigned int ulTableId, struct xsd__base64Binary sInstanceKey, unsigned int ulRowCount, unsigned int ulFlags, struct ns:tableExpandRowResponse *lpsTableExpandRowResponse);
- int ns__tableCollapseRow(ULONG64 ulSessionId, unsigned int ulTableId, struct xsd__base64Binary sInstanceKey, unsigned int ulFlags, struct ns:tableCollapseRowResponse *lpsTableCollapseRowResponse);
- int ns__tableGetCollapseState(ULONG64 ulSessionId, unsigned int ulTableId, struct xsd__base64Binary sBookmark, struct ns:tableGetCollapseStateResponse *lpsResponse);
- int ns__tableSetCollapseState(ULONG64 ulSessionId, unsigned int ulTableId, struct xsd__base64Binary sCollapseState, struct ns:tableSetCollapseStateResponse *lpsResponse);
- int ns__tableMulti(ULONG64 ulSessionId, struct tableMultiRequest sRequest, struct ns:tableMultiResponse *lpsResponse);
- int ns__submitMessage(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulFlags, unsigned int *result);
- int ns__finishedMessage(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulFlags, unsigned int *result);
- int ns__abortSubmit(ULONG64 ulSessionId, entryId sEntryId, unsigned int *result);
- int ns__isMessageInQueue(ULONG64 ulSessionId, entryId sEntryId, unsigned int *result);
- // Get user ID / store for username (username == NULL for current user)
- int ns__resolveStore(ULONG64 ulSessionId, struct xsd__base64Binary sStoreGuid, struct ns:resolveUserStoreResponse *lpsResponse);
- int ns__resolveUserStore(ULONG64 ulSessionId, char *szUserName, unsigned int ulStoreTypeMask, unsigned int ulFlags, struct ns:resolveUserStoreResponse *lpsResponse);
- // Actual user creation/deletion in the external user source
- int ns__createUser(ULONG64 ulSessionId, struct user *lpsUser, struct ns:setUserResponse *lpsUserSetResponse);
- int ns__deleteUser(ULONG64 ulSessionId, unsigned int ulUserId, entryId sUserId, unsigned int *result);
- int ns__removeAllObjects(ULONG64 ulSessionId, entryId sExceptUserId, unsigned int *result);
- // Get user fullname/name/emailaddress/etc for specific user id (userid = 0 for current user)
- int ns__getUser(ULONG64 ulSessionId, unsigned int ulUserId, entryId sUserId, struct ns:getUserResponse *lpsUserGetResponse);
- int ns__setUser(ULONG64 ulSessionId, struct user *lpsUser, unsigned int *result);
- int ns__getUserList(ULONG64 ulSessionId, unsigned int ulCompanyId, entryId sCompanyId, struct ns:userListResponse *lpsUserList);
- int ns__getSendAsList(ULONG64 ulSessionId, unsigned int ulUserId, entryId sUserId, struct ns:userListResponse *lpsUserList);
- int ns__addSendAsUser(ULONG64 ulSessionId, unsigned int ulUserId, entryId sUserId, unsigned int ulSenderId, entryId sSenderId, unsigned int *result);
- int ns__delSendAsUser(ULONG64 ulSessionId, unsigned int ulUserId, entryId sUserId, unsigned int ulSenderId, entryId sSenderId, unsigned int *result);
- int ns__getUserClientUpdateStatus(ULONG64 ulSessionId, entryId sUserId, struct ns:userClientUpdateStatusResponse *lpsResponse);
- // Start softdelete purge
- int ns__purgeSoftDelete(ULONG64 ulSessionId, unsigned int ulDays, unsigned int *result);
- // Do deferred purge
- int ns__purgeDeferredUpdates(ULONG64 ulSessionId, struct ns:purgeDeferredUpdatesResponse *lpsResponse);
- // Clear the cache
- int ns__purgeCache(ULONG64 ulSessionId, unsigned int ulFlags, unsigned int *result);
- // Create store for a user
- int ns__createStore(ULONG64 ulSessionId, unsigned int ulStoreType, unsigned int ulUserId, entryId sUserId, entryId sStoreId, entryId sRootId, unsigned int ulFlags, unsigned int *result);
- // Disabled, returns error, use ns__removeStore
- int ns__deleteStore(ULONG64 ulSessionId, unsigned int ulStoreId, unsigned int ulSyncId, unsigned int *result);
- // Mark store deleted for softdelete to purge from database
- int ns__removeStore(ULONG64 ulSessionId, struct xsd__base64Binary sStoreGuid, unsigned int ulSyncId, unsigned int *result);
- // Hook a store to a specified user (overrides previous hooked store)
- int ns__hookStore(ULONG64 ulSessionId, unsigned int ulStoreType, entryId sUserId, struct xsd__base64Binary sStoreGuid, unsigned int ulSyncId, unsigned int *result);
- // Unhook a store from a specific user
- int ns__unhookStore(ULONG64 ulSessionId, unsigned int ulStoreType, entryId sUserId, unsigned int ulSyncId, unsigned int *result);
- int ns__getOwner(ULONG64 ulSessionId, entryId sEntryId, struct ns:getOwnerResponse *lpsResponse);
- int ns__resolveUsername(ULONG64 ulSessionId, char *lpszUsername, struct ns:resolveUserResponse *lpsResponse);
- int ns__createGroup(ULONG64 ulSessionId, struct group *lpsGroup, struct ns:setGroupResponse *lpsSetGroupResponse);
- int ns__setGroup(ULONG64 ulSessionId, struct group *lpsGroup, unsigned int *result);
- int ns__getGroup(ULONG64 ulSessionId, unsigned int ulGroupId, entryId sGroupId, struct ns:getGroupResponse *lpsReponse);
- int ns__getGroupList(ULONG64 ulSessionId, unsigned int ulCompanyId, entryId sCompanyId, struct ns:groupListResponse *lpsGroupList);
- int ns__groupDelete(ULONG64 ulSessionId, unsigned int ulGroupId, entryId sGroupId, unsigned int *result);
- int ns__resolveGroupname(ULONG64 ulSessionId, char *lpszGroupname, struct ns:resolveGroupResponse *lpsResponse);
- int ns__deleteGroupUser(ULONG64 ulSessionId, unsigned int ulGroupId, entryId sGroupId, unsigned int ulUserId, entryId sUserId, unsigned int *result);
- int ns__addGroupUser(ULONG64 ulSessionId, unsigned int ulGroupId, entryId sGroupId, unsigned int ulUserId, entryId sUserId, unsigned int *result);
- int ns__getUserListOfGroup(ULONG64 ulSessionId, unsigned int ulGroupId, entryId sGroupId, struct ns:userListResponse *lpsUserList);
- int ns__getGroupListOfUser(ULONG64 ulSessionId, unsigned int ulUserId, entryId sUserId, struct ns:groupListResponse *lpsGroupList);
- int ns__createCompany(ULONG64 ulSessionId, struct company *lpsCompany, struct ns:setCompanyResponse *lpsResponse);
- int ns__deleteCompany(ULONG64 ulSessionId, unsigned int ulCompanyId, entryId sCompanyId, unsigned int *result);
- int ns__setCompany(ULONG64 ulSessionId, struct company *lpsCompany, unsigned int *result);
- int ns__getCompany(ULONG64 ulSessionId, unsigned int ulCompanyId, entryId sCompanyId, struct ns:getCompanyResponse *lpsResponse);
- int ns__resolveCompanyname(ULONG64 ulSessionId, char *lpszCompanyname, struct ns:resolveCompanyResponse *lpsResponse);
- int ns__getCompanyList(ULONG64 ulSessionId, struct ns:companyListResponse *lpsCompanyList);
- int ns__addCompanyToRemoteViewList(ULONG64 ecSessionId, unsigned int ulSetCompanyId, entryId sSetCompanyId, unsigned int ulCompanyId, entryId sCompanyId, unsigned int *result);
- int ns__delCompanyFromRemoteViewList(ULONG64 ecSessionId, unsigned int ulSetCompanyId, entryId sSetCompanyId, unsigned int ulCompanyId, entryId sCompanyId, unsigned int *result);
- int ns__getRemoteViewList(ULONG64 ecSessionId, unsigned int ulCompanyId, entryId sCompanyId, struct ns:companyListResponse *lpsCompanyList);
- int ns__addUserToRemoteAdminList(ULONG64 ecSessionId, unsigned int ulUserId, entryId sUserId, unsigned int ulCompanyId, entryId sCompanyId, unsigned int *result);
- int ns__delUserFromRemoteAdminList(ULONG64 ecSessionId, unsigned int ulUserId, entryId sUserId, unsigned int ulCompanyId, entryId sCompanyId, unsigned int *result);
- int ns__getRemoteAdminList(ULONG64 ecSessionId, unsigned int ulCompanyId, entryId sCompanyId, struct ns:userListResponse *lpsUserList);
- int ns__checkExistObject(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulFlags, unsigned int *result);
- int ns__readABProps(ULONG64 ulSessionId, entryId sEntryId, struct ns:readPropsResponse *readPropsResponse);
- int ns__writeABProps(ULONG64 ulSessionId, entryId sEntryId, struct propValArray *aPropVal, unsigned int *result);
- int ns__deleteABProps(ULONG64 ulSessionId, entryId sEntryId, struct propTagArray *lpsPropTags, unsigned int *result);
- int ns__loadABProp(ULONG64 ulSessionId, entryId sEntryId, unsigned int ulPropTag, struct ns:loadPropResponse *lpsResponse);
- int ns__abResolveNames(ULONG64 ulSessionId, struct propTagArray* lpaPropTag, struct rowSet* lpsRowSet, struct flagArray* lpaFlags, unsigned int ulFlags, struct ns:abResolveNamesResponse* lpsABResolveNames);
- int ns__syncUsers(ULONG64 ulSessionId, unsigned int ulCompanyId, entryId sCompanyId, unsigned int *result);
- int ns__setLockState(ULONG64 ulSessionId, entryId sEntryId, bool bLocked, unsigned int *result);
- int ns__resetFolderCount(ULONG64 ulSessionId, entryId sEntryId, struct ns:resetFolderCountResponse *lpsResponse);
- // Quota
- int ns__GetQuota(ULONG64 ulSessionId, unsigned int ulUserid, entryId sUserId, bool bGetUserDefault, struct ns:quotaResponse* lpsQuota);
- int ns__SetQuota(ULONG64 ulSessionId, unsigned int ulUserid, entryId sUserId, struct quota* lpsQuota, unsigned int *result);
- int ns__AddQuotaRecipient(ULONG64 ulSessionId, unsigned int ulCompanyid, entryId sCompanyId, unsigned int ulRecipientId, entryId sRecipientId, unsigned int ulType, unsigned int *result);
- int ns__DeleteQuotaRecipient(ULONG64 ulSessionId, unsigned int ulCompanyid, entryId sCompanyId, unsigned int ulRecipientId, entryId sRecipientId, unsigned int ulType, unsigned int *result);
- int ns__GetQuotaRecipients(ULONG64 ulSessionId, unsigned int ulUserid, entryId sUserId, struct ns:userListResponse *lpsResponse);
- int ns__GetQuotaStatus(ULONG64 ulSessionId, unsigned int ulUserid, entryId sUserId, struct ns:quotaStatus* lpsQuotaStatus);
- // Incremental Change Synchronization
- int ns__getChanges(ULONG64 ulSessionId, struct xsd__base64Binary sSourceKeyFolder, unsigned int ulSyncId, unsigned int ulChangeId, unsigned int ulChangeType, unsigned int ulFlags, struct restrictTable *lpsRestrict, struct ns:icsChangeResponse* lpsChanges);
- int ns__setSyncStatus(ULONG64 ulSessionId, struct xsd__base64Binary sSourceKeyFolder, unsigned int ulSyncId, unsigned int ulChangeId, unsigned int ulChangeType, unsigned int ulFlags, struct ns:setSyncStatusResponse *lpsResponse);
- int ns__getEntryIDFromSourceKey(ULONG64 ulSessionId, entryId sStoreId, struct xsd__base64Binary folderSourceKey, struct xsd__base64Binary messageSourceKey, struct ns:getEntryIDFromSourceKeyResponse *lpsResponse);
- int ns__getSyncStates(ULONG64 ulSessionId, struct mv_long ulaSyncId, struct ns:getSyncStatesReponse *lpsResponse);
- // Licensing
- int ns__getLicenseAuth(ULONG64 ulSessionId, struct xsd__base64Binary sAuthData, struct ns:getLicenseAuthResponse *lpsResponse);
- int ns__getLicenseCapa(ULONG64 ulSessionId, unsigned int ulServiceType, struct ns:getLicenseCapaResponse *lpsResponse);
- int ns__getLicenseUsers(ULONG64 ulSessionId, unsigned int ulServiceType, struct ns:getLicenseUsersResponse *lpsResponse);
- // Multi Server
- int ns__resolvePseudoUrl(ULONG64 ulSessionId, char *lpszPseudoUrl, struct ns:resolvePseudoUrlResponse* lpsResponse);
- int ns__getServerDetails(ULONG64 ulSessionId, struct mv_string8 szaSvrNameList, unsigned int ulFlags, struct ns:getServerDetailsResponse* lpsResponse);
- // Server Behavior, legacy calls for 6.30 clients, unused and may be removed in the future
- int ns__getServerBehavior(ULONG64 ulSessionId, struct ns:getServerBehaviorResponse* lpsResponse);
- int ns__setServerBehavior(ULONG64 ulSessionId, unsigned int ulBehavior, unsigned int *result);
- // Streaming
- int ns__exportMessageChangesAsStream(ULONG64 ulSessionId, unsigned int ulFlags, struct propTagArray sPropTags, struct sourceKeyPairArray, unsigned int ulPropTag, struct ns:exportMessageChangesAsStreamResponse *lpsResponse);
- int ns__importMessageFromStream(ULONG64 ulSessionId, unsigned int ulFlags, unsigned int ulSyncId, entryId sParentEntryId, entryId sEntryId, bool bIsNew, struct propVal *lpsConflictItems, struct xsd__Binary sStreamData, unsigned int *result);
- int ns__getChangeInfo(ULONG64 ulSessionId, entryId sEntryId, struct ns:getChangeInfoResponse *lpsResponse);
- // Debug
- struct testPerformArgs {
- int __size;
- char *__ptr[];
- };
- struct ns:testGetResponse {
- char *szValue;
- unsigned int er;
- };
- int ns__testPerform(ULONG64 ulSessionId, const char *cmd, struct testPerformArgs sPerform, unsigned int *result);
- int ns__testSet(ULONG64 ulSessionId, const char *name, const char *value, unsigned int *result);
- int ns__testGet(ULONG64 ulSessionId, const char *name, struct ns:testGetResponse *lpsResponse);
- struct attachment {
- char *lpszAttachmentName;
- struct xsd__Binary sData;
- };
- struct attachmentArray {
- int __size;
- struct attachment *__ptr;
- };
- struct ns:clientUpdateResponse {
- unsigned int ulLogLevel;
- char *lpszServerPath;
- struct xsd__base64Binary sLicenseResponse;
- struct xsd__Binary sStreamData;
- unsigned int er;
- };
- struct clientUpdateInfoRequest {
- unsigned int ulTrackId;
- char *szUsername;
- char *szClientIPList;
- char *szClientVersion;
- char *szWindowsVersion;
- char *szComputerName;
- struct xsd__base64Binary sLicenseReq;
- };
- struct clientUpdateStatusRequest {
- unsigned int ulTrackId;
- unsigned int ulLastErrorCode;
- unsigned int ulLastErrorAction;
- struct attachmentArray sFiles;
- };
- struct ns:clientUpdateStatusResponse {
- unsigned int er;
- };
- int ns__getClientUpdate(struct clientUpdateInfoRequest sClientUpdateInfo, struct ns:clientUpdateResponse* lpsResponse);
- int ns__setClientUpdateStatus(struct clientUpdateStatusRequest sClientUpdateStatus, struct ns:clientUpdateStatusResponse* lpsResponse);
|