~serge-hallyn/ubuntu/raring/libvirt/libvirt-hugepages

« back to all changes in this revision

Viewing changes to python/typewrappers.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-05-13 15:44:12 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20120513154412-fgmn5sxqdzgnzlx3
Tags: 0.9.12-0ubuntu1
* New upstream version:
  * Synchronize with debian packaging:
    - debian/control: Update build depends.
    - debian/libvirt-bin.postrm: Cleanup /var/log/libvirt
      on purge.
    - Bump standards verson (no changes).
    - debian/patches/Don-t-fail-if-we-can-t-setup-avahi.patch: Added
  * Dropped patches:
    - debian/patches/Debianize-libvirt-guests.patch
    - debian/patches/rewrite-lxc-controller-eof-handling-yet-again
    - debian/patches/ubuntu/libnl13.patch
    - debian/patches/ubuntu/fix-lxc-startup-error.patch
    - debian/patches/ubuntu/fix-bridge-fd.patch
    - debian/patches/ubuntu/skip-labelling-network-disks.patch
    - debian/patches/ubuntu/xen-xend-shutdown-detection.patch
    - debian/patches/ubuntu/xen-config-no-vfb-for-hvm.patch
    - debian/patches/debian/Disable-daemon-start-test.patch
    - debian/patches/debian/Disable-gnulib-s-test-nonplocking-pipe.sh.patch
    - debian/patches/ubuntu/9006-default-config-test-case.patch
    - debian/patches/fix-block-migration.patch
    - debian/patches/ubuntu/9022-qemu-unescape-HMP-commands-before-converting-them-to.patch
    - debian/patches/ubuntu/9023-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/9024-qemu-allow-snapshotting-of-sheepdog-and-rbd-disks.patch
    - debian/patches/9025-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/arm-gcc-workaround.patch
  * Rediffed:
    - debian/patches/Allow-libvirt-group-to-access-the-socket.patch
    - debian/patches/Disable-failing-virnetsockettest.patch
    - debian/patches/dnsmasq-as-priv-user
    - debian/patches/9002-better_default_uri_virsh.patch
  * debian/control: Add libnl-route-3-dev ass a build depends.
  * debian/patches/libnl3-build-fix.patch: Fix build with libnl3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * libvirt_wrap.h: type wrappers for libvir python bindings
3
3
 *
4
 
 * Copyright (C) 2005, 2011 Red Hat, Inc.
 
4
 * Copyright (C) 2005, 2011-2012 Red Hat, Inc.
5
5
 *
6
6
 * Daniel Veillard <veillard@redhat.com>
7
7
 */
8
8
 
9
9
#include <Python.h>
 
10
#include <stdbool.h>
10
11
#include "libvirt/libvirt.h"
11
12
#include "libvirt/virterror.h"
12
13
 
163
164
PyObject * libvirt_charPtrWrap(char *str);
164
165
PyObject * libvirt_charPtrSizeWrap(char *str, Py_ssize_t size);
165
166
PyObject * libvirt_constcharPtrWrap(const char *str);
166
 
PyObject * libvirt_charPtrConstWrap(const char *str);
 
167
int libvirt_intUnwrap(PyObject *obj, int *val);
 
168
int libvirt_uintUnwrap(PyObject *obj, unsigned int *val);
 
169
int libvirt_longUnwrap(PyObject *obj, long *val);
 
170
int libvirt_ulongUnwrap(PyObject *obj, unsigned long *val);
 
171
int libvirt_longlongUnwrap(PyObject *obj, long long *val);
 
172
int libvirt_ulonglongUnwrap(PyObject *obj, unsigned long long *val);
 
173
int libvirt_doubleUnwrap(PyObject *obj, double *val);
 
174
int libvirt_boolUnwrap(PyObject *obj, bool *val);
167
175
PyObject * libvirt_virConnectPtrWrap(virConnectPtr node);
168
176
PyObject * libvirt_virDomainPtrWrap(virDomainPtr node);
169
177
PyObject * libvirt_virNetworkPtrWrap(virNetworkPtr node);