comparison packet.h @ 1036:deed0571cacc

DROPBEAR_ prefix for include guards to avoid collisions
author Thorsten Horstmann <thorsten.horstmann@web.de>
date Tue, 24 Feb 2015 20:43:01 +0800
parents 0431915df79f
children 01eea88963f3
comparison
equal deleted inserted replaced
1022:4121ca987e6a 1036:deed0571cacc
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 * SOFTWARE. */ 23 * SOFTWARE. */
24 24
25 #ifndef _PACKET_H_ 25 #ifndef DROPBEAR_PACKET_H_
26 26
27 #define _PACKET_H_ 27 #define DROPBEAR_PACKET_H_
28 28
29 #include "includes.h" 29 #include "includes.h"
30 30
31 void write_packet(); 31 void write_packet();
32 void read_packet(); 32 void read_packet();
44 #define PACKET_PADDING_OFF 4 44 #define PACKET_PADDING_OFF 4
45 #define PACKET_PAYLOAD_OFF 5 45 #define PACKET_PAYLOAD_OFF 5
46 46
47 #define INIT_READBUF 128 47 #define INIT_READBUF 128
48 48
49 #endif /* _PACKET_H_ */ 49 #endif /* DROPBEAR_PACKET_H_ */