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

« back to all changes in this revision

Viewing changes to lib/include/vmware/tools/guestrpc.h

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-03-31 14:20:05 UTC
  • mfrom: (1.4.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110331142005-3n9red91p7ogkweo
Tags: 2011.03.28-387002-0ubuntu1
* Merge latest upstream git tag.  This has the unlocked_ioctl change
  needed to fix dkms build failures (LP: #727342)
* Changes in debian/rules:
  - work around a bug in toolbox/Makefile, where install-exec-hook is
    not happening.  This needs to get fixed the right way.
  - don't install 'vmware-user' which seems to no longer exist
  - move /etc/xdg into open-vm-toolbox (which should be done using .install)
* debian/open-vm-tools.init: add 'modprobe [-r] vmblock'. (LP: #332323)
* debian/rules and debian/open-vm-toolbox.lintian-overrides:
  - Make vmware-user-suid-wrapper suid-root (LP: #332323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
G_BEGIN_DECLS
43
43
 
44
 
/** Alias for RpcChannel_SetRetVals. */
45
 
#define RPCIN_SETRETVALS RpcChannel_SetRetVals
 
44
/** Aliases. */
 
45
#define RPCIN_SETRETVALS  RpcChannel_SetRetVals
 
46
#define RPCIN_SETRETVALSF RpcChannel_SetRetValsF
46
47
 
47
48
struct RpcChannel;
48
49
 
112
113
typedef void (*RpcChannelStopFn)(struct RpcChannel *);
113
114
typedef void (*RpcChannelShutdownFn)(struct RpcChannel *);
114
115
typedef gboolean (*RpcChannelSendFn)(struct RpcChannel *,
115
 
                                     char *data,
 
116
                                     char const *data,
116
117
                                     size_t dataLen,
117
118
                                     char **result,
118
119
                                     size_t *resultLen);
193
194
 
194
195
G_INLINE_FUNC gboolean
195
196
RpcChannel_Send(RpcChannel *chan,
196
 
                char *data,
 
197
                char const *data,
197
198
                size_t dataLen,
198
199
                char **result,
199
200
                size_t *resultLen)
234
235
 
235
236
gboolean
236
237
RpcChannel_SetRetVals(RpcInData *data,
237
 
                      char *result,
 
238
                      char const *result,
238
239
                      gboolean retVal);
239
240
 
 
241
gboolean
 
242
RpcChannel_SetRetValsF(RpcInData *data,
 
243
                       char *result,
 
244
                       gboolean retVal);
 
245
 
240
246
void
241
247
RpcChannel_UnregisterCallback(RpcChannel *chan,
242
248
                              RpcChannelCallback *rpc);