~n-muench/ubuntu/quantal/open-vm-tools/open-vm-tools.march-merge2b

« back to all changes in this revision

Viewing changes to lib/include/hgfsProto.h

  • Committer: Bazaar Package Importer
  • Author(s): Nate Muench
  • Date: 2010-09-06 21:06:01 UTC
  • mfrom: (2.4.19 sid)
  • Revision ID: james.westby@ubuntu.com-20100906210601-gxxy30e5roil4srt
Tags: 2010.06.16-268169-3ubuntu1
* Merge from Debian testing (LP: #632101), remaining changes:
  - Recommend open-vm-toolbox in open-vm-tools.
  - Rediffing vsock.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
   HGFS_OP_CREATE_SYMLINK_V3,     /* Create a symlink */
119
119
   HGFS_OP_SERVER_LOCK_CHANGE_V3, /* Change the oplock on a file */
120
120
   HGFS_OP_WRITE_WIN32_STREAM_V3, /* Write WIN32_STREAM_ID format data to file */
121
 
 
122
121
   /*
123
122
    * Operations for version 4, deprecating version 3 operations.
124
123
    */
1664
1663
HgfsHeader;
1665
1664
 
1666
1665
/*
 
1666
 * If no flags are set then the capability is not supported by the host.
 
1667
 */
 
1668
#define HGFS_REQUEST_NOT_SUPPORTED              0
 
1669
/*
1667
1670
 * Flag HGFS_REQUEST_SUPPORTED is set for every requests that are supported by the host.
1668
1671
 */
1669
1672
#define HGFS_REQUEST_SUPPORTED                  (1 << 0)
1761
1764
 
1762
1765
typedef
1763
1766
#include "vmware_pack_begin.h"
1764
 
struct HgfsRequestCreateSession {
 
1767
struct HgfsRequestCreateSessionV4 {
1765
1768
   uint32 numCapabilities;            /* Number of capabilities to follow. */
1766
1769
   uint32 maxPacketSize;              /* Maximum packet size supported. */
1767
1770
   uint64 reserved;                   /* Reserved for future use. */
1768
1771
   HgfsCapability capabilities[1];    /* Array of HgfsCapabilities. */
1769
1772
}
1770
1773
#include "vmware_pack_end.h"
1771
 
HgfsRequestCreateSession;
 
1774
HgfsRequestCreateSessionV4;
1772
1775
 
 
1776
#define HGFS_INVALID_SESSION_ID 0xffffffff
1773
1777
typedef
1774
1778
#include "vmware_pack_begin.h"
1775
 
struct HgfsReplyCreateSession {
 
1779
struct HgfsReplyCreateSessionV4 {
1776
1780
   uint64 sessionId;                  /* Session ID. */
1777
1781
   uint32 numCapabilities;            /* Number of capabilities to follow. */
1778
1782
   uint32 maxPacketSize;              /* Maximum packet size supported. */
1781
1785
   HgfsCapability capabilities[1];    /* Array of HgfsCapabilities. */
1782
1786
}
1783
1787
#include "vmware_pack_end.h"
1784
 
HgfsReplyCreateSession;
1785
 
 
1786
 
typedef
1787
 
#include "vmware_pack_begin.h"
1788
 
struct HgfsRequestDestroySession {
1789
 
   uint64 sessionId;   /* Session ID. */
1790
 
   uint64 reserved;    /* Reserved for future use. */
1791
 
}
1792
 
#include "vmware_pack_end.h"
1793
 
HgfsRequestDestroySession;
1794
 
 
1795
 
typedef
1796
 
#include "vmware_pack_begin.h"
1797
 
struct HgfsReplyDestroySession {
1798
 
   uint64 reserved;    /* Reserved for future use. */
1799
 
}
1800
 
#include "vmware_pack_end.h"
1801
 
HgfsReplyDestroySession;
 
1788
HgfsReplyCreateSessionV4;
 
1789
 
 
1790
typedef
 
1791
#include "vmware_pack_begin.h"
 
1792
struct HgfsRequestDestroySessionV4 {
 
1793
   uint64 reserved;    /* Reserved for future use. */
 
1794
}
 
1795
#include "vmware_pack_end.h"
 
1796
HgfsRequestDestroySessionV4;
 
1797
 
 
1798
typedef
 
1799
#include "vmware_pack_begin.h"
 
1800
struct HgfsReplyDestroySessionV4 {
 
1801
   uint64 reserved;    /* Reserved for future use. */
 
1802
}
 
1803
#include "vmware_pack_end.h"
 
1804
HgfsReplyDestroySessionV4;
1802
1805
 
1803
1806
/* Adds new error status: HGFS_STATUS_INVALID_SESSION. */
1804
1807