X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fcollectors.h;h=47b148ba44ef1f09a1a22ea5c600e87179a75c3e;hb=806cd5c7cc1adbb4696b96d1429650f2ade5c848;hp=a4abb631237d5c6a5957b9e24d471313b877fefc;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/ofproto/collectors.h b/ofproto/collectors.h index a4abb631..47b148ba 100644 --- a/ofproto/collectors.h +++ b/ofproto/collectors.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,15 +17,18 @@ #ifndef COLLECTORS_H #define COLLECTORS_H 1 +#include #include -#include "svec.h" struct collectors; +struct sset; -int collectors_create(const struct svec *targets, uint16_t default_port, +int collectors_create(const struct sset *targets, uint16_t default_port, struct collectors **); void collectors_destroy(struct collectors *); void collectors_send(const struct collectors *, const void *, size_t); +int collectors_count(const struct collectors *); + #endif /* collectors.h */