]> granicus.if.org Git - xconq/blobdiff - x11/imf2x.c
commits for 7.5.0 pre-release tarball
[xconq] / x11 / imf2x.c
index e8c58ac38687a59f8a238c147fb584c679043008..5a8f02627a8e408c0cf99b8cbed0b14c495bcd5a 100644 (file)
@@ -111,3 +111,27 @@ usage(void)
            "             -p\t\t\tshow progress\n");
     exit(1);
 }
+
+/*! \brief Table definition.
+ *
+ * This is the structure with info about a table.
+ */
+typedef struct tabledefn {
+    char *name;                                 /*!< name of the table */
+    int (*getter)(int, int);            /*!< accessor function */
+    char *doc;                                  /*!< documentation string */
+    short **table;                              /*!< pointer to table itself */
+    short dflt;                                 /*!< default value of entries */
+    short lo;                                           /*!< lower bound of tabl
+e values */
+    short hi;                                   /*!< upper bound of table values
+ */
+    char index1;                                /*!< type of row indices */
+    char index2;                                /*!< type of column indices */
+    char valtype;                               /*!< type of data in table */
+} TableDefn;
+
+TableDefn tabledefns [] = {{NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0}, NULL};
+
+int numtypes_from_index_type(int x) {return 0;}
+