X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fcollectors.h;h=6529b8de5db43b7dc2db382e85951b38c90206e2;hb=003ce655b7116d18c86a74c50391e54990346931;hp=a4abb631237d5c6a5957b9e24d471313b877fefc;hpb=6bab37989b1b5e8981bee80e1fedef621799332c;p=sliver-openvswitch.git diff --git a/ofproto/collectors.h b/ofproto/collectors.h index a4abb6312..6529b8de5 100644 --- a/ofproto/collectors.h +++ b/ofproto/collectors.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2011 Nicira, Inc. * * 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 */