X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fport-array.h;h=15fa41d1c2f123ea454a7d8dab823014c14751ed;hb=7fa710e43fdf2dbf7fe41877cf73e04ccc4a7166;hp=36410bfed534c0bbeec07fb8dc17d7b3fea9fdea;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;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 *);