Ignore:
Timestamp:
08/08/05 16:33:16 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
c3274c6
Parents:
8184acc
Message:

trace_event fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_template.c

    r9e2a109 r72bfe20  
    3131#include "libtrace.h"
    3232#include "libtrace_int.h"
     33#include "format_helper.h"
    3334#include <inttypes.h>
    3435
     
    5859}
    5960
    60 static int template_read(struct libtrace_t *libtrace, void *buffer, size_t len) {
    61         return -1;
    62 }
    6361static int template_read_packet(struct libtrace_t *libtrace, struct libtrace_packet_t *packet) {
    6462        return -1;
     
    110108}
    111109
     110static int template_get_fd(const struct libtrace_packet_t *packet) {
     111        return -1;
     112}
     113
    112114static void template_help() {
    113115        return;
     
    121123        template_fin_input,             /* fin_input */
    122124        template_fin_output,            /* fin_output */
    123         template_read,                  /* read */
    124125        template_read_packet,           /* read_packet */
    125126        template_write_packet,          /* write_packet */
     
    134135        template_get_wire_length,       /* get_wire_length */
    135136        template_set_capture_length,    /* set_capture_length */
     137        template_get_fd,                /* get_fd */
     138        trace_event_trace,              /* trace_event */
    136139        template_help                   /* help */
    137140};
Note: See TracChangeset for help on using the changeset viewer.