]> granicus.if.org Git - xconq/blobdiff - x11/x2imf.c
commits for 7.5.0 pre-release tarball
[xconq] / x11 / x2imf.c
index 69042bf8f668c0bf14f8ec107293f25ffb9ec6cc..3a65fcb45259abc98ca2b9d47cae86de5db51d87 100644 (file)
@@ -39,3 +39,27 @@ main(int argc, char *argv[])
     }
     return 0;
 }
+
+/*! \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;}
+