/usr/include/eeze-1/Eeze_Net.h is in libeeze-dev 1.8.6-2.5+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | #ifndef EEZE_NET_H
#define EEZE_NET_H
#ifdef EAPI
# undef EAPI
#endif
#ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
#else
# define EAPI
#endif
#include <Eina.h>
#include <Ecore.h>
/**
* @file Eeze_Net.h
* @brief Network manipulation
*
* Eeze net functions allow you to gather information about network objects
*
* @defgroup Eeze_Net Net
* Gather information about network devices.
*
* @ingroup Eeze
* @{
*/
typedef struct Eeze_Net Eeze_Net;
typedef enum
{
EEZE_NET_ADDR_TYPE_IP,
EEZE_NET_ADDR_TYPE_IP6,
EEZE_NET_ADDR_TYPE_BROADCAST,
EEZE_NET_ADDR_TYPE_BROADCAST6,
EEZE_NET_ADDR_TYPE_NETMASK,
EEZE_NET_ADDR_TYPE_NETMASK6,
} Eeze_Net_Addr_Type;
#ifdef __cplusplus
extern "C" {
#endif
EAPI Eeze_Net *eeze_net_new(const char *name);
EAPI void eeze_net_free(Eeze_Net *net);
EAPI const char *eeze_net_mac_get(Eeze_Net *net);
EAPI int eeze_net_idx_get(Eeze_Net *net);
EAPI Eina_Bool eeze_net_scan(Eeze_Net *net);
EAPI const char *eeze_net_addr_get(Eeze_Net *net, Eeze_Net_Addr_Type type);
EAPI const char *eeze_net_attribute_get(Eeze_Net *net, const char *attr);
EAPI const char *eeze_net_syspath_get(Eeze_Net *net);
EAPI Eina_List *eeze_net_list(void);
#ifdef __cplusplus
}
#endif
/** @} */
#endif
|