=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/bufaux.h,v retrieving revision 1.13.2.2 retrieving revision 1.13.2.3 diff -u -r1.13.2.2 -r1.13.2.3 --- src/usr.bin/ssh/Attic/bufaux.h 2002/04/23 02:13:50 1.13.2.2 +++ src/usr.bin/ssh/Attic/bufaux.h 2002/05/17 00:03:23 1.13.2.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: bufaux.h,v 1.13.2.2 2002/04/23 02:13:50 jason Exp $ */ +/* $OpenBSD: bufaux.h,v 1.13.2.3 2002/05/17 00:03:23 miod Exp $ */ /* * Author: Tatu Ylonen @@ -38,5 +38,8 @@ void *buffer_get_string(Buffer *, u_int *); void buffer_put_string(Buffer *, const void *, u_int); void buffer_put_cstring(Buffer *, const char *); + +#define buffer_skip_string(b) \ + do { u_int l = buffer_get_int(b); buffer_consume(b, l); } while(0) #endif /* BUFAUX_H */