X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofpbuf.h;h=736b8f5e5ee35156f381e5390c7b2e33fd97a406;hb=142181fcd734a2afff9fe13e54fe51c7a2c824d2;hp=9072cc47407398358affe62b2fb076b89a176f41;hpb=0ab8e15fd7b5618c0c513c69ab6fd4155eb13452;p=openvswitch diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h index 9072cc47..736b8f5e 100644 --- a/lib/ofpbuf.h +++ b/lib/ofpbuf.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,6 +62,7 @@ void *ofpbuf_put_zeros(struct ofpbuf *, size_t); void *ofpbuf_put(struct ofpbuf *, const void *, size_t); void ofpbuf_reserve(struct ofpbuf *, size_t); void *ofpbuf_push_uninit(struct ofpbuf *b, size_t); +void *ofpbuf_push_zeros(struct ofpbuf *, size_t); void *ofpbuf_push(struct ofpbuf *b, const void *, size_t); size_t ofpbuf_headroom(const struct ofpbuf *);