GNU Radio's GSM Package
interleave.h
Go to the documentation of this file.
1 /*
2  The Hacker's Choice - http://www.thc.org
3  Part of THC's GSM SCANNER PROJECT
4 */
5 
6 /*
7  * $Id:$
8  */
9 
10 #ifndef __GSMSP_INTERLEAVE_H__
11 #define __GSMSP_INTERLEAVE_H__ 1
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 typedef struct _interleave_ctx
18 {
19  unsigned short *trans;
22 
23 int interleave_init(INTERLEAVE_CTX *ictx, int size, int block_size);
24 int interleave_init_facch_f(INTERLEAVE_CTX *ictx, int size, int block_size, int block_offset);
26 void interleave_decode(INTERLEAVE_CTX *ictx, unsigned char *dst, unsigned char *src);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif
struct _interleave_ctx INTERLEAVE_CTX
void interleave_decode(INTERLEAVE_CTX *ictx, unsigned char *dst, unsigned char *src)
int trans_size
Definition: interleave.h:20
int interleave_deinit(INTERLEAVE_CTX *ictx)
unsigned short * trans
Definition: interleave.h:19
Definition: interleave.h:17
int interleave_init(INTERLEAVE_CTX *ictx, int size, int block_size)
int interleave_init_facch_f(INTERLEAVE_CTX *ictx, int size, int block_size, int block_offset)