add sigar_net_services_name_get

This commit is contained in:
Doug MacEachern committed 2007-09-16 18:32:56 +00:00
1 parent ee290f5a13
commit db8b0124d2
4 files changed
+97 -1

No files matched your search

+3
View File
@@ -42,5 +42,8 @@ SIGAR_DECLARE(const char *)sigar_net_connection_state_get(int state);
SIGAR_DECLARE(char *) sigar_net_interface_flags_to_string(sigar_uint64_t flags, char *buf);
SIGAR_DECLARE(char *)sigar_net_services_name_get(sigar_t *sigar,
int protocol, unsigned long port);
#endif
+3 -1
View File
@@ -71,7 +71,9 @@
int ifconf_len; \
char *self_path; \
sigar_cache_t *proc_cpu; \
sigar_cache_t *net_listen
sigar_cache_t *net_listen; \
sigar_cache_t *net_services_tcp; \
sigar_cache_t *net_services_udp
#if defined(WIN32)
# define SIGAR_INLINE __inline