#include <glib/gmessages.h>
#include "captive/macros.h"
#include <libxml/tree.h>
-#include "../client/vfs.h"
+#include "../client/vfs-parent.h"
static void impl_Captive_GLogFunc_g_log_func
Captive_GLogFunc impl_Captive_GLogFunc__create
- (PortableServer_POA poa,CaptiveVfsObject *captive_vfs_object,CORBA_Environment *ev)
+ (PortableServer_POA poa,CaptiveVfsParentObject *captive_vfs_parent_object,CORBA_Environment *ev)
{
Captive_GLogFunc retval;
impl_POA_Captive_GLogFunc *newservant;
captive_new0(newservant); /* FIXME: leak */
newservant->servant.vepv=&impl_Captive_GLogFunc_vepv;
newservant->poa=poa;
- newservant->captive_vfs_object=captive_vfs_object;
+ newservant->captive_vfs_parent_object=captive_vfs_parent_object;
POA_Captive_GLogFunc__init((PortableServer_Servant)newservant,ev);
objid=PortableServer_POA_activate_object(poa,newservant,ev);
CORBA_free(objid);
{
xmlNode *xml_message=NULL;
- if (servant->captive_vfs_object->corba_bug_log) {
- xml_message=xmlNewTextChild(servant->captive_vfs_object->corba_bug_log,NULL,"message",g_log_message->message);
- xmlNewProp(xml_message,"level",levelp->name);
+ if (servant->captive_vfs_parent_object->corba_bug_log) {
+ xml_message=xmlNewTextChild(servant->captive_vfs_parent_object->corba_bug_log,NULL,BAD_CAST "message",BAD_CAST g_log_message->message);
+ xmlNewProp(xml_message,BAD_CAST "level",BAD_CAST levelp->name);
}
log_level_use&=~levelp->from;
log_level_use&=~flagp->from;
log_level_use|= flagp->to;
if (xml_message)
- xmlNewProp(xml_message,flagp->name,flagp->name);
+ xmlNewProp(xml_message,BAD_CAST flagp->name,BAD_CAST flagp->name);
}
}
g_log(G_LOG_DOMAIN,log_level_use,"sandbox: %s%s",