mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
27
lib/libnet/libnet.h
Normal file
27
lib/libnet/libnet.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef __libnet__
|
||||
#define __libnet__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
extern int netSetIP( char *dev, char *ip, char *mask, char *brdcast );
|
||||
extern void netGetIP( char *dev, char *ip, char *mask, char *brdcast );
|
||||
extern void netSetDefaultRoute( char *gw );
|
||||
extern void netGetDefaultRoute( char *ip );
|
||||
extern char *netGetDomainname( void );
|
||||
extern void netSetDomainname( char *dom );
|
||||
extern char *netGetHostname( void );
|
||||
extern void netSetHostname( char *host );
|
||||
extern void netSetNameserver(const char *ip);
|
||||
extern void netGetNameserver( char *ip );
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user