cgroup.h

00001 /*
00002  * netlink/route/cls/cgroup.h   Control Groups Classifier
00003  *
00004  *      This library is free software; you can redistribute it and/or
00005  *      modify it under the terms of the GNU Lesser General Public
00006  *      License as published by the Free Software Foundation version 2.1
00007  *      of the License.
00008  *
00009  * Copyright (c) 2009-2010 Thomas Graf <tgraf@suug.ch>
00010  */
00011 
00012 #ifndef NETLINK_CLS_CGROUP_H_
00013 #define NETLINK_CLS_CGROUP_H_
00014 
00015 #include <netlink/netlink.h>
00016 #include <netlink/cache.h>
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00022 extern void                     rtnl_cgroup_set_ematch(struct rtnl_cls *,
00023                                                 struct rtnl_ematch_tree *);
00024 struct rtnl_ematch_tree *       rtnl_cgroup_get_ematch(struct rtnl_cls *);
00025 
00026 #ifdef __cplusplus
00027 }
00028 #endif
00029 
00030 #endif