summaryrefslogtreecommitdiff
path: root/include/glibtop
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2005-01-21 23:28:47 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2005-01-21 23:28:47 +0000
commit9b263e0fbb5cdef2541c08bb38e3ac918887eeeb (patch)
tree67cde5004fddf16a63c442bc9193426df84c9958 /include/glibtop
parent793807b07e20e5e607393f52bf52c4b3f1308887 (diff)
downloadlibgtop-9b263e0fbb5cdef2541c08bb38e3ac918887eeeb.tar.gz
added localsock { name } to glibtop_open_files_entry. Should not break
* examples/openfiles.c: (show_open_files): * include/glibtop/procopenfiles.h: added localsock { name } to glibtop_open_files_entry. Should not break ABI.
Diffstat (limited to 'include/glibtop')
-rw-r--r--include/glibtop/procopenfiles.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/glibtop/procopenfiles.h b/include/glibtop/procopenfiles.h
index 29b2390c..fa6cd26b 100644
--- a/include/glibtop/procopenfiles.h
+++ b/include/glibtop/procopenfiles.h
@@ -77,6 +77,12 @@ struct _glibtop_open_files_entry
struct {
char name[GLIBTOP_OPEN_FILENAME_LEN+1];
} file;
+
+ /* When type == GLIBTOP_FILE_TYPE_LOCALSOCKET */
+ struct {
+ char name[GLIBTOP_OPEN_FILENAME_LEN+1];
+ } localsock;
+
} info;
};