Commit d79f891f authored by 's avatar
Browse files

publishing burst.h


git-svn-id: file:///home/svn/mapi/trunk@1306 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 10708988
......@@ -38,4 +38,4 @@ tobuffer_all.c \
to_tcpdump.c
# these headers will be installd in $prefix/include/mapi
pkginclude_HEADERS = bucket.h dist.h hashsamp.h pktinfo.h res2file.h sample.h stats.h
pkginclude_HEADERS = bucket.h burst.h dist.h hashsamp.h pktinfo.h res2file.h sample.h stats.h
#ifndef __BURST_H__
#define __BURST_H__
// Interface dependencies -----------------------------------------------------
// End interface dependencies -------------------------------------------------
typedef struct burst_category {
unsigned long bytes;
unsigned long packets;
......@@ -12,5 +8,3 @@ typedef struct burst_category {
} burst_category_t;
#endif
/* end of burst.h */
......@@ -3,15 +3,10 @@
#include <unistd.h>
#include <sys/time.h>
#include <mapi.h>
#include "mapi/burst.h"
#include <string.h>
typedef struct burst {
unsigned long bytes;
unsigned long packets;
unsigned long bursts;
} burst_category_t;
int main(int argc, char *argv[]) {
int fd;
int fid;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment