dhcpcd: Add hooks

This commit is contained in:
Sebastian Huber
2018-05-02 09:01:32 +02:00
parent 8bd38d645c
commit b2eb48c23b
7 changed files with 118 additions and 6 deletions

View File

@@ -33,16 +33,12 @@
void if_printoptions(void);
#ifndef __rtems__
int send_interface(int, const struct interface *);
int script_runreason(const struct interface *, const char *);
#else /* __rtems__ */
static inline int send_interface(int fd, const struct interface *iface)
{
return 0;
}
static inline int script_runreason(const struct interface *ifp, const char *reason)
{
return 0;
}
#endif /* __rtems__ */
int script_runreason(const struct interface *, const char *);
#endif