X-Git-Url: http://git.onelab.eu/?p=libnl.git;a=blobdiff_plain;f=src%2Futils.h;fp=src%2Futils.h;h=0000000000000000000000000000000000000000;hp=c12e4632084b43fc680aa45276c4eccf34254fcc;hb=332c8b7561dcac7ac95cc0d07328b1cb22d780a6;hpb=eabdd897b75ecc1fac5e255229a899126085e57a diff --git a/src/utils.h b/src/utils.h deleted file mode 100644 index c12e463..0000000 --- a/src/utils.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * src/utils.h Utilities - * - * This library 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 version 2.1 - * of the License. - * - * Copyright (c) 2003-2006 Thomas Graf - */ - -#ifndef __SRC_UTILS_H_ -#define __SRC_UTILS_H_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -extern int nltool_init(int argc, char *argv[]); -extern int nltool_connect(struct nl_handle *nlh, int protocol); -extern struct nl_addr *nltool_addr_parse(const char *str); -extern int nltool_parse_dumptype(const char *str); - -extern struct nl_cache *nltool_alloc_link_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_addr_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_neigh_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_neightbl_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_route_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_rule_cache(struct nl_handle *nlh); -extern struct nl_cache *nltool_alloc_qdisc_cache(struct nl_handle *nlh); - -extern int nltool_cbset; - -#define arg_match(str) !strcasecmp(argv[idx], str) - -#endif