Changeset d3376d5 for lib/dagformat.h


Ignore:
Timestamp:
02/19/19 09:48:02 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
450d198
Parents:
3621e1c
Message:

Move dag_sec_t and dag_opthdr structures into format_erf.h

They were previously added to dagformat.h, but this header is not
included if the DAG libraries are present. This meant libtrace
would fail to build for DAG users.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/dagformat.h

    r4e5a51f rd3376d5  
    104104} PACKED dag_record_t;
    105105
    106 typedef struct dag_section_header {
    107         uint16_t type;
    108         uint16_t len;
    109 } PACKED dag_sec_t;
    110 
    111 struct dag_opthdr {
    112         uint16_t optcode;
    113         uint16_t optlen;
    114 } PACKED;
    115 
    116106#ifdef WIN32
    117107#pragma pack(pop)
Note: See TracChangeset for help on using the changeset viewer.