加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c – 这是什么样的格式?

发布时间:2020-12-16 07:32:44 所属栏目:百科 来源:网络整理
导读:当我在aqbanking中运行以下命令时 aqbanking-cli request -a 0987654321 -c transactions.ctx --transactions --fromdate=20121011 正在创建具有如下所示内容的文件.它是什么样的格式,我试图找到一个解析它的C库. 来自文件transactions.ctx: accountInfoLis
当我在aqbanking中运行以下命令时

aqbanking-cli request -a 0987654321 -c transactions.ctx --transactions --fromdate=20121011

正在创建具有如下所示内容的文件.它是什么样的格式,我试图找到一个解析它的C库.

来自文件transactions.ctx:

accountInfoList {
  accountInfo {
    char bankCode="1234567890"
    char bankName="Deutsche Bank"
    char accountNumber="0987654321"
    char accountName="Girokonto"
    char owner="MUELLER,MIKE"
    char currency="EUR"
    int  accountType="0"
    int  accountId="42"

    statusList {
      status {
        int  time="1349956800"

        notedBalance {
          value {
            char value="8799384%2F100"
            char currency="EUR"
          } #value

          int  time="1349956800"
        } #notedBalance
      } #status
    } #statusList
  } #accountInfo
} #accountInfoList

解决方法

它不是标准的文件格式.它是Gwenhywfar库中的文件格式. http://freecode.com/projects/gwenhywfar

从README中的功能列表,

High-level functions for parsing files with a simplified "XML-like"
format and accessing them like a hierarchical database (src/parser/)
It is able to process valid XML files,too.

您可能使用的src / parser文件夹中有C函数,但文档看起来有点缺乏.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读