18#define SHARKD_DISSECT_FLAG_NULL 0x00u
19#define SHARKD_DISSECT_FLAG_BYTES 0x01u
20#define SHARKD_DISSECT_FLAG_COLUMNS 0x02u
21#define SHARKD_DISSECT_FLAG_PROTO_TREE 0x04u
22#define SHARKD_DISSECT_FLAG_COLOR 0x08u
24#define SHARKD_MODE_CLASSIC_CONSOLE 1
25#define SHARKD_MODE_CLASSIC_DAEMON 2
26#define SHARKD_MODE_GOLD_CONSOLE 3
27#define SHARKD_MODE_GOLD_DAEMON 4
32cf_status_t sharkd_cf_open(
const char *fname,
unsigned int type,
bool is_tempfile,
int *err);
33int sharkd_load_cap_file(
void);
34int sharkd_retap(
void);
35int sharkd_filter(
const char *dftext, uint8_t **result);
36frame_data *sharkd_get_frame(uint32_t framenum);
37enum dissect_request_status {
38 DISSECT_REQUEST_SUCCESS,
39 DISSECT_REQUEST_NO_SUCH_FRAME,
40 DISSECT_REQUEST_READ_ERROR
42enum dissect_request_status
43sharkd_dissect_request(uint32_t framenum, uint32_t frame_ref_num,
44 uint32_t prev_dis_num,
wtap_rec *rec,
46 sharkd_dissect_func_t cb,
void *data,
47 int *err,
char **err_info);
48wtap_block_t sharkd_get_modified_block(
const frame_data *fd);
49wtap_block_t sharkd_get_packet_block(
const frame_data *fd);
50int sharkd_set_modified_block(frame_data *fd,
wtap_block_t new_block);
51const char *sharkd_version(
void);
54int sharkd_init(
int argc,
char **argv);
55int sharkd_loop(
int argc _U_,
char* argv[] _U_);
58int sharkd_session_main(
int mode_setting);
cf_status_t
Definition file.h:26
Definition column-info.h:62
Definition epan_dissect.h:28
Definition wtap_opttypes.c:85