X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgraph_list.h;h=d0022d788123bcbeab920084ddb5cdc056a5adfa;hb=24d2befcb6cc804e2417585c09acb48983e2b517;hp=5d0c917bdc9714ed3efc3aeff19a8e279b3a81d3;hpb=c048f2d5c5dab7e4944ca9a50463fdf4d2748aff;p=collection4.git diff --git a/src/graph_list.h b/src/graph_list.h index 5d0c917..d0022d7 100644 --- a/src/graph_list.h +++ b/src/graph_list.h @@ -1,3 +1,26 @@ +/** + * collection4 - graph_list.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_LIST_H #define GRAPH_LIST_H 1 @@ -26,6 +49,9 @@ int gl_search (const char *search, graph_inst_callback_t callback, int gl_search_field (graph_ident_field_t field, const char *field_value, graph_inst_callback_t callback, void *user_data); +int gl_foreach_host (int (*callback) (const char *host, void *user_data), + void *user_data); + int gl_update (void); #endif /* GRAPH_LIST_H */