search for: cbdata

Displaying 20 results from an estimated 22 matches for "cbdata".

2005 Nov 14
1
Page Fault With Freetype calls
I have this PC app that converts output to PDF using PDF-Tools (From Tracker Software). The long and the short of it is that it makes some calls into the gdi libraries to render the fonts in the resultant PDF, which causes a segfault somewhere in some libc calls. If I turn off client font rendering, the process completes, and I get a bunch of PDFs that have lines drawn, but no text on
2014 Jan 02
0
[PATCH] libvirt-auth: Provide a friendlier wrapper around virConnectAuthPtrDefault (RHBZ#1044014).
...html http://libvirt.org/uri.html)\n"), + g->saved_libvirt_uri ? g->saved_libvirt_uri : "NULL"); + g->wrapper_warning_done = true; + } + + return virConnectAuthPtrDefault->cb (cred, ncred, + virConnectAuthPtrDefault->cbdata); +} + static int exists_libvirt_auth_event (guestfs_h *g) { @@ -165,31 +194,37 @@ guestfs___open_libvirt_connection (guestfs_h *g, const char *uri, unsigned int flags) { virConnectAuth authdata; - virConnectAuthPtr authdataptr; virConnectPtr conn; +...
2003 May 05
1
R-1.7.0: Rproxy.dll loadlibrary/freelibrary error (PR#2914)
...;, getenv("R_HOME"),DLLlocation); OutputDebugString(lTraceBuffer); } } if (m_ProxyModule == 0) { // look in the registry OutputDebugString("from reg:"); char DLLlocation[MAX_PATH]; LONG rc; HKEY hkey; DWORD keytype = REG_SZ; DWORD cbData = sizeof (DLLlocation); rc = RegOpenKeyEx (HKEY_LOCAL_MACHINE, "Software\\R-core\\R", 0, KEY_READ, &hkey); if (rc == ERROR_SUCCESS) { rc = RegQueryValueEx (hkey, "InstallPath", 0, &keytype, (LPBYTE)DLLlocation, &cbData); Reg...
2012 Aug 26
1
question about using openAuth with Python
...sword of root for remote machine is "123456". Even I running the example in libvirt library esxlist.py(change uri to a qemu type and assign the username and password). Bellow is my simple test code, unfortunately it still need me to input the password. import libvirt def authcb(ncred, cbdata): for cred in ncred: if cred[0] == libvirt.VIR_CRED_AUTHNAME: cred[4] = "root" elif cred == libvirt.VIR_CRED_PASSPHRASE: cred[4] = "123456" return 0 class connection: def __init__(self, uri): self.uri = uri def open(self): auth = [[libvirt.VIR_CRED_AUTHNAME, libvirt.VIR_CRED_PA...
2006 Dec 13
1
Core Dump: create_transaction (p=0x0) at pbx_dundi.c:2787
...xbe9ffa40) at pbx_dundi.c:361 trans = (struct dundi_transaction *) 0x0 #4 0xb7b3e0ef in handle_frame (h=0xbe9fda40, sin=0xbe9ffa40, datalen=-1209714176) at pbx_dundi.c:1944 trans = (struct dundi_transaction *) 0xbe9ffa40 #5 0xb7b3b3ff in socket_read (id=0x81a61e0, fd=18, events=1, cbdata=0x0) at pbx_dundi.c:2006 sin = {sin_family = 2, sin_port = 43025, sin_addr = {s_addr = 3415129048}, sin_zero = "\000\000\000\000\000\000\000"} res = -1209714176 buf = "t?\000\000\000\000\211\000\000\006\000\016\f?\222M\023\004\022K?D\020P?\226? \003?lZ?O?6?^@p...
2003 Apr 29
0
segmentation fault at voicemail
...ead 32773 (LWP 931)] 0x40120f2a in _int_malloc () from /lib/libc.so.6 (gdb) bt #0 0x40120f2a in _int_malloc () from /lib/libc.so.6 #1 0x4012059c in malloc () from /lib/libc.so.6 #2 0x080526b3 in ast_frdup (f=0xbf1fe94c) at frame.c:250 #3 0x40308c85 in socket_read (id=0x80d6498, fd=11, events=1, cbdata=0x0) at chan_iax.c:712 #4 0x08050b5c in ast_io_wait (ioc=0x80d0d00, howlong=15) at io.c:268 #5 0x40306d3e in network_thread (ignore=0x0) at chan_iax.c:4280 #6 0x4002a76e in pthread_start_thread () from /lib/libpthread.so.0 #7 0x4002a7dd in pthread_start_thread_event () from /lib/libpthread.so.0...
2003 Sep 25
15
CDR Web Search Frontend
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hey all, I've just done a quick (but functional) web front end for searching the CDRs in a MySQL database. Anyone interested in trying it out? I'm wondering what to add to it next. So far you can seach using source, destination, CLI, channel and date ranges. It also displays ALL fields in the database table.
2014 Oct 30
2
[PATCH 0/2] v2v: Add --password-file parameter (RHBZ#1158526).
These patches add the --password-file parameter, allowing you to pass a single password via a file. https://bugzilla.redhat.com/show_bug.cgi?id=1158526 Rich.
2004 Nov 20
1
Asterisk dead but pid file exists - gdb asterisk core.13089
.../i686/libc.so.6 #2 0x00b4c363 in gsm_new () at codec_gsm.c:63 #3 0x08061d7d in ast_translator_build_path (dest=64, source=1) at translate.c:110 #4 0x08061008 in ast_set_read_format (chan=0xbf2108a0, fmts=-1088314640) at channel.c:1738 #5 0x02b3b5f0 in socket_read (id=0x8805cb8, fd=17, events=1, cbdata=0x0) at chan_iax2.c:5310 #6 0x080523c0 in ast_io_wait (ioc=0x8804588, howlong=32129) at io.c:267 #7 0x02b3210e in network_thread (ignore=0x0) at chan_iax2.c:6322 #8 0x002eddb2 in pthread_start_thread () from /lib/i686/libpthread.so.0 #9 0x0024635a in clone () from /lib/i686/libc.so.6 (gdb) bt f...
2019 Apr 08
0
[PATCH v4 3/7] v2v: switch to ocaml-libvirt
...{ - cred[i].result = NULL; - cred[i].resultlen = 0; - } - } - return 0; - } - else { - /* No --password-file so call the default handler. */ - return virConnectAuthPtrDefault->cb (cred, ncred, - virConnectAuthPtrDefault->cbdata); - } -} - -virStoragePoolPtr -connect_and_load_pool (value connv, value poolnamev) -{ - CAMLparam2 (connv, poolnamev); - const char *conn_uri = NULL; - const char *poolname; - /* We have to assemble the error on the stack because a dynamic - * string couldn't be freed. - */ - char er...
2009 Aug 25
3
[Bug 23505] New: KDE's Kubrick has problems with xf86-video-nouveau driver
http://bugs.freedesktop.org/show_bug.cgi?id=23505 Summary: KDE's Kubrick has problems with xf86-video-nouveau driver Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau AssignedTo: nouveau at
2012 Oct 13
0
[PATCH] New APIs: Model libvirt authentication events through the API.
...(g->nr_supported_credentials > 0 && exists_libvirt_auth_event (g)) { + memset (&authdata, 0, sizeof authdata); + authdata.credtype = g->supported_credentials; + authdata.ncredtype = g->nr_supported_credentials; + authdata.cb = libvirt_auth_callback; + authdata.cbdata = g; + authdataptr = &authdata; + g->saved_libvirt_uri = uri; + } + else + authdataptr = virConnectAuthPtrDefault; + + conn = virConnectOpenAuth (uri, authdataptr, flags); + + /* Restore handle fields to "outside event handler" state. */ + g->saved_libvirt_uri = NU...
2008 Feb 22
0
Wine release 0.9.56
...o RegEnumKeyExW in CreateDesktopEnumList. msi: Fix the character count passed into RegSetValueExA in test_MsiQueryFeatureState. winspool: Fix character count passed to RegQueryValueExW in get_local_monitors. advapi32: Add tests for RegSetValueA/W. advapi32: Document that the cbData parameter of RegSetValueA/W is ignored. advapi32: Add tests for the off-by-one fixing behaviour of RegSetValueExA and RegSetValueExW. shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE and when to use CPL_NEWINQUIRE. wininet: Fix potential buffer over...
2018 Nov 27
8
[PATCH v2 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not
2019 Jan 30
8
[PATCH v3 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not
2019 May 20
8
[PATCH v5 0/7] v2v: switch to ocaml-libvirt
Hi, this series switches virt-2v to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not test all
2019 Apr 08
12
[PATCH 43 0/7] v2v: switch to ocaml-libvirt
Hi, this series switches virt-2v to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not test all
2017 Sep 08
2
[PATCH] RFC: v2v: add and use libvirt connection objects
...+ if (connv != Val_int (0)) conn_uri = String_val (Field (connv, 0)); /* Some conn */ - is_test_uri = STRPREFIX (conn_uri, "test:"); - } /* Set up authentication wrapper. */ authdata = *virConnectAuthPtrDefault; authdata.cb = libvirt_auth_default_wrapper; authdata.cbdata = (void *) password; - /* Note this cannot be a read-only connection since we need to use - * the VIR_DOMAIN_XML_SECURE flag below. - */ conn = virConnectOpenAuth (conn_uri, &authdata, 0); if (conn == NULL) { if (conn_uri) @@ -220,6 +254,26 @@ v2v_dumpxml (value passwordv, val...
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
...ta needed for the helper C authentication + * callback (which will call the actual OCaml callback). + */ +struct ocaml_auth_callback_data { + value *fvp; /* The OCaml auth callback. */ +}; + +static int +_ocaml_auth_callback (virConnectCredentialPtr cred, unsigned int ncred, void *cbdata) +{ + CAMLparam0 (); + CAMLlocal4 (listv, elemv, rv, v); + struct ocaml_auth_callback_data *s = cbdata; + int i, len; + + listv = Val_emptylist; + for (i = ncred - 1; i >= 0; --i) { + elemv = caml_alloc (2, 0); + Store_field (elemv, 0, Val_virconnectcredential (&cred[i])); + S...
2018 Aug 30
8
[PATCH 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not