X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fport-array.h;h=15fa41d1c2f123ea454a7d8dab823014c14751ed;hb=ec61a01cd8ed73b13ffe042ddff4baf41f6b63e7;hp=36410bfed534c0bbeec07fb8dc17d7b3fea9fdea;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch diff --git a/lib/port-array.h b/lib/port-array.h index 36410bfe..15fa41d1 100644 --- a/lib/port-array.h +++ b/lib/port-array.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. @@ -84,6 +84,7 @@ void port_array_init(struct port_array *); void port_array_destroy(struct port_array *); void port_array_clear(struct port_array *); void port_array_set(struct port_array *, uint16_t idx, void *); +void port_array_delete(struct port_array *, uint16_t idx); void *port_array_first(const struct port_array *, unsigned int *); void *port_array_next(const struct port_array *, unsigned int *); unsigned int port_array_count(const struct port_array *);