[PATCH v3 3/5] libsmartcols/src/smartcolsP.h: add field to struct libscols_column

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Shakur Shams Mullick <shakursmullick@xxxxxxxxx>
---
 libsmartcols/src/smartcolsP.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h
index ebdc929..ee3ee1a 100644
--- a/libsmartcols/src/smartcolsP.h
+++ b/libsmartcols/src/smartcolsP.h
@@ -82,7 +82,9 @@ struct libscols_column {
 	int	flags;
 	int	is_extreme;
 	char	*color;		/* default column color */
-
+	
+	int (*compare_data)(struct libscols_cell *, struct libscols_cell *, void *); /* comparison function to use*/
+	
 	struct libscols_cell	header;
 	struct list_head	cl_columns;
 };
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux