ucspi-ssl  0.99e
TLS encryption for IPv6 communication
byte.h
Go to the documentation of this file.
1 /* Public domain. */
2 
3 #ifndef BYTE_H
4 #define BYTE_H
5 
6 
7 extern unsigned int byte_chr(const char *, unsigned int n, int);
8 extern void byte_copy(void *, unsigned int, const void *);
9 extern void byte_copyr(char *, unsigned int, const char *);
10 extern int byte_diff(const void *, unsigned int n, const void *);
11 extern void byte_zero(void *, unsigned int);
12 
13 #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
14 
15 #endif
void byte_copy(void *, unsigned int, const void *)
void byte_copyr(char *, unsigned int, const char *)
Definition: byte_cr.c:5
int byte_diff(const void *, unsigned int n, const void *)
void byte_zero(void *, unsigned int)
unsigned int byte_chr(const char *, unsigned int n, int)