#include <config.h>
#include <sys/types.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <expat.h>
#include <discover.h>
#include <discover-xml.h>
#include "load-url.h"
#include "device.h"
#include "utils.h"
#include "stack.h"
Go to the source code of this file.
Data Structures | |
struct | context |
Defines | |
#define | IDLEN 5 |
Enumerations | |
enum | state { START, FINISH, DEVICE, DATA } |
Functions | |
void | discover_xml_merge_device_url (discover_device_t **dlist, char *url, discover_xml_busclass_t *busclasses, discover_xml_vendor_t *vendors, discover_error_t *status) |
discover_device_t * | discover_xml_get_devices (discover_bus_t bus, discover_error_t *status) |
void | discover_xml_free_devices (void) |
discover_device_t * | discover_xml_find_device (discover_device_t *xml_devices, char *target_vendor, char *target_model, discover_error_t *status) |
discover_device_t * | discover_xml_find_next_device (discover_device_t *xml_devices, char *target_vendor, char *target_model, discover_error_t *status) |
discover_device_t * | discover_xml_get_matching_devices (discover_device_t *xml_devices, char *target_vendor, char *target_model, discover_error_t *status) |
This file contains the routines needed to properly process the device XML data. This file is responsible for handling URLs and storing the XML data during the parsing process.
Definition in file device-xml.c.
|
Length (including terminating null) of model and vendor ID strings Definition at line 77 of file device-xml.c. |
|
Representative of the state within the XML data Definition at line 82 of file device-xml.c. |