]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/gnome2-console/console_conf.h
Added wx-console.exe and .conf.
[bacula/bacula] / bacula / src / gnome2-console / console_conf.h
index b63d20ccc8221b21f573279b0db424f0a60706ec..9fba0fd7ddcb70a4b28affadc90f17be6886276e 100644 (file)
 /*
  * Resource codes -- they must be sequential for indexing   
  */
-#define R_FIRST                      1001
 
-#define R_DIRECTOR                   1001
-#define R_CONSOLE                    1002
+enum {
+   R_DIRECTOR = 1001,
+   R_CONSOLE,
+   R_CONSOLE_FONT,
+};
 
-#define R_LAST                       R_CONSOLE
+#define R_FIRST     R_DIRECTOR
+#define R_LAST     R_CONSOLE_FONT
 
 /*
  * Some resource attributes
@@ -39,19 +42,28 @@ struct s_res_dir {
 };
 typedef struct s_res_dir DIRRES;
 
-struct s_con_dir {
+struct s_con_font {
    RES  hdr;
    char *fontface;                   /* Console Font specification */
    int require_ssl;                  /* Require SSL on all connections */
 };
-typedef struct s_con_dir CONRES;
+typedef struct s_con_font CONFONTRES;
+
+struct s_con_res {
+   RES  hdr;
+   char *password;                   /* UA server password */
+   int require_ssl;                  /* Require SSL on all connections */
+};
+typedef struct s_con_res CONRES;
+
 
 /* Define the Union of all the above
  * resource structure definitions.
  */
 union u_res {
-   struct s_res_dir    res_dir;
-   struct s_con_dir    con_dir;
+   struct s_res_dir    dir_res;
+   struct s_con_font   con_font;
+   struct s_con_res    con_res;
    RES hdr;
 };