summaryrefslogtreecommitdiffstats
path: root/apps/include/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/include/function.h')
-rw-r--r--apps/include/function.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/include/function.h b/apps/include/function.h
index a0314bb181..4125979305 100644
--- a/apps/include/function.h
+++ b/apps/include/function.h
@@ -26,4 +26,15 @@ typedef struct function_st {
} FUNCTION;
DEFINE_LHASH_OF(FUNCTION);
+
+/* Structure to hold the number of columns to be displayed and the
+ * field width used to display them.
+ */
+typedef struct {
+ int columns;
+ int width;
+} DISPLAY_COLUMNS;
+
+void calculate_columns(FUNCTION *functions, DISPLAY_COLUMNS *dc);
+
#endif