Changeset 25a3255 for lib/libtrace.h.in


Ignore:
Timestamp:
11/23/18 17:11:33 (3 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
2ceec6a
Parents:
89cc0cc
Message:

More assertion cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r89cc0cc r25a3255  
    326326        /** Unable to create deadtrace **/
    327327        TRACE_ERR_CREATE_DEADTRACE = -21,
     328        /** Bad linktype **/
     329        TRACE_ERR_BAD_LINKTYPE = -22,
     330        /** Bad IO for the trace **/
     331        TRACE_ERR_BAD_IO = -23,
     332        /** Trace has bad header **/
     333        TRACE_ERR_BAD_HEADER = -24,
    328334};
    329335
     
    419425        TRACE_FORMAT_DPDK_NDAG       =20,    /**< DAG multicast over a network, received via DPDK */
    420426        TRACE_FORMAT_ETSILIVE     =21,  /**< ETSI LI over a network */
     427        TRACE_FORMAT_UNKNOWN      =22,  /** Unknown format */
    421428};
    422429
     
    15461553 *
    15471554 */
    1548 DLLEXPORT int trace_destroy(libtrace_t *trace);
     1555DLLEXPORT void trace_destroy(libtrace_t *trace);
    15491556
    15501557/** Close a dummy trace file, freeing up any resources it may have been using
    15511558 * @param trace         The dummy trace to be destroyed
    15521559 */
    1553 DLLEXPORT int trace_destroy_dead(libtrace_t *trace);
     1560DLLEXPORT void trace_destroy_dead(libtrace_t *trace);
    15541561
    15551562/** Close an output trace, freeing up any resources it may have been using
    15561563 * @param trace         The output trace to be destroyed
    15571564 */
    1558 DLLEXPORT int trace_destroy_output(libtrace_out_t *trace);
     1565DLLEXPORT void trace_destroy_output(libtrace_out_t *trace);
    15591566
    15601567/** Flush an output trace, forcing any buffered packets to be written
Note: See TracChangeset for help on using the changeset viewer.