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

« back to all changes in this revision

Viewing changes to lib/include/config.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:
57
57
                              const char *fmt, ...) PRINTF_DECL(2, 3);
58
58
EXTERN char *Config_GetStringPlain(const char *defaultValue,
59
59
                                   const char *fmt, ...) PRINTF_DECL(2, 3);
60
 
EXTERN const char *Config_GetAsString(const char *fmt, ...) PRINTF_DECL(1, 2);
 
60
EXTERN char *Config_GetAsString(const char *fmt, ...) PRINTF_DECL(1, 2);
61
61
EXTERN char *Config_GetStringEnum(const char *defaultValue,
62
62
                                  const char **choices,
63
63
                                  const char *fmt, ...) PRINTF_DECL(3, 4);
86
86
 
87
87
EXTERN void Config_Set(void *value, int type,
88
88
                       const char *fmt, ...) PRINTF_DECL(3, 4);
 
89
 
 
90
/*
 
91
 * This is tricky to call because it returns allocated storage. Use
 
92
 * the typed wrappers instead (Config_Get*).
 
93
 */
89
94
EXTERN void *Config_Get(const void *pDefaultValue, int type,
90
95
                        const char *fmt, ...) PRINTF_DECL(3, 4);
91
96