ppp: fix API in ppp.h header

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2016-11-28 22:24:15 +01:00
parent 0caa3ebbe0
commit 4a3cf02a25
2 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,8 @@ extern "C" {
#endif
extern struct rtnl_link *rtnl_link_ppp_alloc(void);
extern int rtnl_link_ppp_set_fd(struct rtnl_link *, uint32_t);
extern uint32_t rtnl_link_ppp_get_mode(struct rtnl_link *);
extern int rtnl_link_ppp_set_fd(struct rtnl_link *, int32_t);
extern int rtnl_link_ppp_get_fd(struct rtnl_link *, int32_t *);
#ifdef __cplusplus
}

View File

@ -20,6 +20,8 @@
* @{
*/
#include <netlink/route/link/ppp.h>
#include <netlink-private/netlink.h>
#include <netlink/netlink.h>
#include <netlink-private/route/link/api.h>