mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
moved some definitions from tftp.h to tftpd.c
This commit is contained in:
parent
4d10c96aa6
commit
068ba17e21
@ -46,12 +46,6 @@ struct tftphdr {
|
|||||||
#define th_code th_block
|
#define th_code th_block
|
||||||
#define th_msg th_data
|
#define th_msg th_data
|
||||||
|
|
||||||
#define opcode_RRQ 1
|
|
||||||
#define opcode_WRQ 2
|
|
||||||
#define opcode_DATA 3
|
|
||||||
#define opcode_ACK 4
|
|
||||||
#define opcode_ERROR 5
|
|
||||||
|
|
||||||
#define EUNDEF 0
|
#define EUNDEF 0
|
||||||
#define ENOTFOUND 1
|
#define ENOTFOUND 1
|
||||||
#define EACCESS 2
|
#define EACCESS 2
|
||||||
|
@ -118,6 +118,11 @@ static int writeit(struct testcase *test, struct tftphdr **dpp, int ct,
|
|||||||
int convert);
|
int convert);
|
||||||
static void mysignal(int, void (*func)(int));
|
static void mysignal(int, void (*func)(int));
|
||||||
|
|
||||||
|
#define opcode_RRQ 1
|
||||||
|
#define opcode_WRQ 2
|
||||||
|
#define opcode_DATA 3
|
||||||
|
#define opcode_ACK 4
|
||||||
|
#define opcode_ERROR 5
|
||||||
|
|
||||||
#define TIMEOUT 5
|
#define TIMEOUT 5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user