}
-/***************************************************************
- * NODE INFO APIS
- **************************************************************/
-
static int
remoteDispatchNodeDeviceGetParent(virNetServerPtr server ATTRIBUTE_UNUSED,
virNetServerClientPtr client ATTRIBUTE_UNUSED,
return rv;
}
-/***************************
- * Register / deregister events
- ***************************/
static int
remoteDispatchConnectDomainEventRegister(virNetServerPtr server ATTRIBUTE_UNUSED,
virNetServerClientPtr client,
}
-/********************************************************/
-
/* A unified function to log network connections and disconnections */
static void
VIR_LOG_INIT("util.conf");
-/************************************************************************
- * *
- * Structures and macros used by the mini parser *
- * *
- ************************************************************************/
-
typedef struct _virConfParserCtxt virConfParserCtxt;
typedef virConfParserCtxt *virConfParserCtxtPtr;
do { while ((ctxt->cur < ctxt->end) && (c_isblank(CUR))) \
ctxt->cur++; } while (0)
-/************************************************************************
- * *
- * Structures used by configuration data *
- * *
- ************************************************************************/
-
VIR_ENUM_IMPL(virConf, VIR_CONF_LAST,
"*unexpected*",
"long",
}
-/************************************************************************
- * *
- * Structures allocations and deallocations *
- * *
- ************************************************************************/
-
/**
* virConfFreeList:
* @list: the list to free
return ret;
}
-/************************************************************************
- * *
- * Serialization *
- * *
- ************************************************************************/
/**
* virConfSaveValue:
return 0;
}
-/************************************************************************
- * *
- * The parser core *
- * *
- ************************************************************************/
/**
* virConfParseLong:
return NULL;
}
-/************************************************************************
- * *
- * The module entry points *
- * *
- ************************************************************************/
/* 10 MB limit on config file size as a sanity check */
#define MAX_CONFIG_FILE_SIZE (1024*1024*10)
extern virErrorFunc virErrorHandler;
extern void *virUserData;
-/************************************************************************
- * *
- * API for error handling *
- * *
- ************************************************************************/
int virErrorInitialize(void);
void virRaiseErrorFull(const char *filename,
const char *funcname,
};
-/************************************************************************
- * *
- * Wrappers around libxml2 XPath specific functions *
- * *
- ************************************************************************/
-
/**
* virXPathString:
* @xpath: the XPath string to evaluate
* additional information or have any questions.
*/
-/*******************************************************************************
-* Header Files *
-*******************************************************************************/
#include <config.h>
VIR_LOG_INIT("vbox.vbox_XPCOMCGlue");
-/*******************************************************************************
-* Defined Constants And Macros *
-*******************************************************************************/
#if defined(__linux__) || defined(__linux_gnu__) || defined(__sun__) || \
defined(__FreeBSD__) || defined(__OpenBSD__) || \
defined(__FreeBSD_kernel__)
#endif
-/*******************************************************************************
-* Global Variables *
-*******************************************************************************/
/** The dlopen handle for VBoxXPCOMC. */
static void *hVBoxXPCOMC;
/** Pointer to the VBoxXPCOMC function table. */
}
-/*****************************************************************
- ******
- ******
- ******
- ******
- Refactored
- ******
- ******
- ******
- ******
- *****************************************************************/
/**
* xenDaemonOpen:
* @conn: an existing virtual connection block
static void xenStoreWatchEvent(int watch, int fd, int events, void *data);
static void xenStoreWatchListFree(xenStoreWatchListPtr list);
-/************************************************************************
- * *
- * Helper internal APIs *
- * *
- ************************************************************************/
/**
* virDomainDoStoreQuery:
return xs_read(priv->xshandle, 0, &s[0], &len);
}
-/************************************************************************
- * *
- * Canonical internal APIs *
- * *
- ************************************************************************/
/**
* xenStoreOpen:
* @conn: pointer to the connection block
return 0;
}
-/*****************************************************************
- ******
- ****** Parsing of S-Expression into virDomainDef objects
- ******
- *****************************************************************/
/**
* xenParseSxprOS: