mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2025-02-25 22:07:13 +00:00
ppp: fix API in ppp.h header
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
0caa3ebbe0
commit
4a3cf02a25
@ -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
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user