File: packet_manip.h

package info (click to toggle)
qstat 2.11-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,128 kB
  • ctags: 2,545
  • sloc: ansic: 18,287; sh: 3,372; makefile: 40
file content (22 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * qstat 2.8
 * by Steve Jankowski
 *
 * Packet module
 * Copyright 2005 Steven Hartland based on code by Steve Jankowski
 *
 * Licensed under the Artistic License, see LICENSE.txt for license terms
 */

#ifndef QSTAT_PACKETS_H
#define QSTAT_PACKETS_H

#include "qstat.h"

int combine_packets( struct qserver *server );
int add_packet( struct qserver *server, unsigned int pkt_id, int pkt_index, int pkt_max, int datalen, char *data, int calc_max );
int next_sequence();
SavedData* get_packet_fragment( int index );
unsigned combined_length( struct qserver *server, int pkt_id );

#endif