~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to lib/include/hgfsServerPolicy.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-10-18 12:28:19 UTC
  • mfrom: (1.1.7 upstream) (2.4.9 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091018122819-00vqew6m0ztpqcqp
Tags: 2009.10.15-201664-1
MergingĀ upstreamĀ versionĀ 2009.10.15-201664.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
Bool
93
93
HgfsServerPolicy_IsShareOptionSet(HgfsShareOptions shareOptions,  // IN: Config options
94
94
                                  uint32 option);                 // IN: Option to check
 
95
HgfsNameStatus
 
96
HgfsServerPolicy_ProcessCPName(char const *nameIn,         // IN: name in CPName form
 
97
                               size_t nameInLen,           // IN: length of the name
 
98
                               Bool *readAccess,           // OUT: Read permissions
 
99
                               Bool *writeAccess,          // OUT: Write permissions
 
100
                               char const **shareBaseDir); // OUT: Shared directory
95
101
 
96
102
void
97
103
HgfsServerPolicy_FreeShareList(HgfsServerPolicy_ShareList *shareList); // IN: list to free
99
105
HgfsServerPolicy_ShareList *
100
106
HgfsServerPolicy_GetSharesWithTag(const char *tag); // IN: tag to search for
101
107
 
 
108
Bool
 
109
HgfsServerPolicy_CheckMode(HgfsOpenMode mode,          // IN: mode to check
 
110
                           Bool writePermissions,      // IN: callers write permissions
 
111
                           Bool readPermissions);      // IN: callers read permissions
 
112
 
102
113
#endif // _HGFS_SERVER_POLICY_H_