"Fossies" - the Fresh Open Source Software Archive

Member "mlr-5.6.2/c/output/lrec_writer.h" (25 Aug 2019, 592 Bytes) of package /linux/misc/mlr-5.6.2.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "lrec_writer.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef LREC_WRITER_H
    2 #define LREC_WRITER_H
    4 #include <stdio.h>
    5 #include "containers/lrec.h"
    6 #include "lib/context.h"
    8 struct _lrec_writer_t; // forward reference for method declarations
   10 typedef void lrec_writer_process_func_t(void* pvstate, FILE* fp, lrec_t* prec, context_t* pctx);
   11 typedef void lrec_writer_free_func_t(struct _lrec_writer_t* pwriter, context_t* pctx);
   13 typedef struct _lrec_writer_t {
   14     void*                       pvstate;
   15     lrec_writer_process_func_t* pprocess_func;
   16     lrec_writer_free_func_t*    pfree_func; // virtual destructor
   17 } lrec_writer_t;
   19 #endif // LREC_WRITER_H