Rename bcode.h => bt.h
In preparation for adding tracker-related functionality.
This commit is contained in:
parent
62deb83394
commit
f5552b2526
2
bcode.c
2
bcode.c
@ -22,7 +22,7 @@
|
||||
#include <string.h>
|
||||
#include <vis.h>
|
||||
|
||||
#include "bcode.h"
|
||||
#include "bt.h"
|
||||
|
||||
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
|
3
bt.c
3
bt.c
@ -18,7 +18,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "bcode.h"
|
||||
#include "bt.h"
|
||||
|
||||
|
||||
#define GROWTH_FACTOR 1024
|
||||
|
||||
|
@ -18,9 +18,21 @@
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
/*
|
||||
* STRUCTS
|
||||
*/
|
||||
|
||||
|
||||
struct bcode;
|
||||
|
||||
|
||||
/*
|
||||
* PROTOTYPES
|
||||
*/
|
||||
|
||||
|
||||
/* bencode */
|
||||
|
||||
struct bcode * bcode_parse(const uint8_t *, size_t);
|
||||
void bcode_free(struct bcode *);
|
||||
void bcode_print(const struct bcode *, FILE *);
|
Loading…
Reference in New Issue
Block a user