|
Lines 52-59
Link Here
|
| 52 |
|
52 |
|
| 53 |
tptp_int32 init_dime_header(DIME_HEADER_PTR_T p); |
53 |
tptp_int32 init_dime_header(DIME_HEADER_PTR_T p); |
| 54 |
tptp_int32 construct_dime_file_transfer(DIME_HEADER_PTR_T *p, char *fileName, tptp_int32 length); |
54 |
tptp_int32 construct_dime_file_transfer(DIME_HEADER_PTR_T *p, char *fileName, tptp_int32 length); |
|
|
55 |
tptp_int32 construct_dime_file_transfer_error(DIME_HEADER_PTR_T *p, char *fileName, tptp_int32 length, int errCode); |
| 55 |
tptp_int32 construct_dime_console(DIME_HEADER_PTR_T *p, PID processId, tptp_int32 consoleType, tptp_int32 dataSize) ; |
56 |
tptp_int32 construct_dime_console(DIME_HEADER_PTR_T *p, PID processId, tptp_int32 consoleType, tptp_int32 dataSize) ; |
| 56 |
char *get_dime_id(DIME_HEADER_PTR_T p); |
57 |
char *get_dime_id(DIME_HEADER_PTR_T p); |
|
|
58 |
void free_dime(DIME_HEADER_PTR_T p); |
| 57 |
|
59 |
|
| 58 |
PID get_dime_process_id(DIME_HEADER_PTR_T p); |
60 |
PID get_dime_process_id(DIME_HEADER_PTR_T p); |
| 59 |
tptp_int32 get_dime_console_type(DIME_HEADER_PTR_T p); |
61 |
tptp_int32 get_dime_console_type(DIME_HEADER_PTR_T p); |
|
Lines 66-72
Link Here
|
| 66 |
#define MAKE_NBO_DIME_HEADER(b) make_dime_header(b) |
68 |
#define MAKE_NBO_DIME_HEADER(b) make_dime_header(b) |
| 67 |
#define MAKE_DIME_HEADER(b) make_dime_header(b) |
69 |
#define MAKE_DIME_HEADER(b) make_dime_header(b) |
| 68 |
#define MAKE_DIME_FILE_TRANSFER(xp, b, c) construct_dime_file_transfer(xp, b, c) |
70 |
#define MAKE_DIME_FILE_TRANSFER(xp, b, c) construct_dime_file_transfer(xp, b, c) |
|
|
71 |
#define MAKE_DIME_FILE_TRANSFER_ERROR(xp, b, c, e) construct_dime_file_transfer_error(xp, b, c, e) |
| 69 |
#define MAKE_DIME_CONSOLE(xp, id, ct, ds) construct_dime_console(xp, id, ct, ds) |
72 |
#define MAKE_DIME_CONSOLE(xp, id, ct, ds) construct_dime_console(xp, id, ct, ds) |
|
|
73 |
#define FREE_DIME(x) free_dime(x) |
| 70 |
#define DIME_START(xp) xp->mb = 0x1; |
74 |
#define DIME_START(xp) xp->mb = 0x1; |
| 71 |
#define DIME_END(xp) xp->me = 0x1; |
75 |
#define DIME_END(xp) xp->me = 0x1; |
| 72 |
|
76 |
|