X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgraph_instance.h;h=249fe4d2c77d5f2a90131f7b66bd88b2254063a7;hb=e30594797655c82d92ee8c4718dfdd82e9e3d377;hp=61d5ea43f67bc05dd187ac24030e12fd3cbd3715;hpb=8a3753760230b270c8f4615891cba2586a661d21;p=collection4.git diff --git a/src/graph_instance.h b/src/graph_instance.h index 61d5ea4..249fe4d 100644 --- a/src/graph_instance.h +++ b/src/graph_instance.h @@ -1,3 +1,26 @@ +/** + * collection4 - graph_instance.h + * Copyright (C) 2010 Florian octo Forster + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * Authors: + * Florian octo Forster + **/ + #ifndef GRAPH_INSTANCE_H #define GRAPH_INSTANCE_H 1 @@ -31,6 +54,8 @@ int inst_get_rrdargs (graph_config_t *cfg, graph_instance_t *inst, graph_ident_t *inst_get_selector (graph_instance_t *inst); +int inst_compare (const graph_instance_t *i0, const graph_instance_t *i1); + int inst_compare_ident (graph_instance_t *inst, const graph_ident_t *ident); /* Returns true if "ident" matches the instance's selector. */