/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/xml.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-22 13:57:59 UTC
  • Revision ID: csa@suren.me-20151022135759-nqs5wowy38tvbw09
Documentation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * @file pcilib_xml.c
 
2
 * @file xml.c
3
3
 * @version 1.0
4
4
 *
5
5
 * @brief this file is the main source file for the implementation of dynamic registers using xml and several funtionalities for the "pci-tool" line command tool from XML files. the xml part has been implemented using libxml2
550
550
    pcilib_view_context_t *view_ctx;
551
551
 
552
552
    pcilib_access_mode_t mode = 0;
553
 
    pcilib_transform_view_description_t desc = {0};
 
553
    pcilib_transform_view_description_t desc = {{0}};
554
554
 
555
555
    desc.base.api = &pcilib_transform_view_api;
556
556
    desc.base.type = PCILIB_TYPE_DOUBLE;
668
668
    xmlNodeSetPtr nodeset;
669
669
 
670
670
    pcilib_view_context_t *view_ctx;
671
 
    pcilib_enum_view_description_t desc = {0};
 
671
    pcilib_enum_view_description_t desc = {{0}};
672
672
 
673
673
    desc.base.type = PCILIB_TYPE_STRING;
674
674
    desc.base.unit = pcilib_xml_enum_view_unit;