From 9b263e0fbb5cdef2541c08bb38e3ac918887eeeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Fri, 21 Jan 2005 23:28:47 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ include/glibtop/procopenfiles.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index f41f8273..ac2dce21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-22 Benoît Dejean + + * examples/openfiles.c: (show_open_files): + * include/glibtop/procopenfiles.h: added localsock { name } to + glibtop_open_files_entry. Should not break ABI. + 2005-01-12 Benoît Dejean * configure.in: 2.9.5. 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; };