version 1.168, 2010/07/13 23:13:16 |
version 1.169, 2010/08/31 09:58:37 |
|
|
return buffer_get_string_ptr(&active_state->incoming_packet, length_ptr); |
return buffer_get_string_ptr(&active_state->incoming_packet, length_ptr); |
} |
} |
|
|
|
/* Ensures the returned string has no embedded \0 characters in it. */ |
|
char * |
|
packet_get_cstring(u_int *length_ptr) |
|
{ |
|
return buffer_get_cstring(&active_state->incoming_packet, length_ptr); |
|
} |
|
|
/* |
/* |
* Sends a diagnostic message from the server to the client. This message |
* Sends a diagnostic message from the server to the client. This message |
* can be sent at any time (but not while constructing another message). The |
* can be sent at any time (but not while constructing another message). The |