reindent-20030715
[openafs.git] / src / gtx / gtxobjects.h
index 71a9302..6a3d924 100644 (file)
@@ -16,7 +16,7 @@
  * Constants and data structures defining the basis for a gator object.
  *--------------------------------------------------------------------------------*/
 
-#include "gtxwindows.h"                /*Standard window defs & ops*/
+#include "gtxwindows.h"                /*Standard window defs & ops */
 
 /*Max number of chars in an object name*/
 #define        GATOR_OBJNAMELEN 128
  * onode for each gator object.
  */
 struct onode {
-    int        o_type;                         /*Object type*/
-    char o_name[GATOR_OBJNAMELEN];     /*Object's string name*/
-    int        o_x, o_y;                       /*X and Y coordinates*/
-    int        o_width, o_height;              /*Width & height in pixels*/
-    int        o_changed;                      /*Changed since last refresh?*/
-    short o_refcount;                  /*Reference count*/
-    struct gwin        *o_window;              /*Object's associated graphical window*/
-    struct onodeops *o_op;             /*Object's operations*/
-    struct onode *o_home;              /*Ptr to home object*/
-    struct onode *o_help;              /*Ptr to help object, if any*/
-    struct onode *o_nextobj;           /*Ptr to next queued object, if any*/
-    struct onode *o_upobj;             /*Ptr to parent (up) object, if any*/
-    struct onode *o_downobj;           /*Ptr to child (down) object, if any*/
-    int        *o_data;                        /*Ptr to object's private data region*/
+    int o_type;                        /*Object type */
+    char o_name[GATOR_OBJNAMELEN];     /*Object's string name */
+    int o_x, o_y;              /*X and Y coordinates */
+    int o_width, o_height;     /*Width & height in pixels */
+    int o_changed;             /*Changed since last refresh? */
+    short o_refcount;          /*Reference count */
+    struct gwin *o_window;     /*Object's associated graphical window */
+    struct onodeops *o_op;     /*Object's operations */
+    struct onode *o_home;      /*Ptr to home object */
+    struct onode *o_help;      /*Ptr to help object, if any */
+    struct onode *o_nextobj;   /*Ptr to next queued object, if any */
+    struct onode *o_upobj;     /*Ptr to parent (up) object, if any */
+    struct onode *o_downobj;   /*Ptr to child (down) object, if any */
+    int *o_data;               /*Ptr to object's private data region */
 };
 
 /*
@@ -50,9 +50,9 @@ struct onode {
  * slots.
  */
 struct onodeops {
-    int        (*on_destroy)();        /*Destroy an onode*/
-    int        (*on_display)();        /*Display an onode*/
-    int        (*on_release)();        /*Decrement an onode ref count*/
+    int (*on_destroy) ();      /*Destroy an onode */
+    int (*on_display) ();      /*Display an onode */
+    int (*on_release) ();      /*Decrement an onode ref count */
 };
 
 /*
@@ -66,23 +66,23 @@ struct onodeops {
  * Initialization parameters for an onode.
  */
 struct onode_initparams {
-    int        i_debug;                         /*Turn debugging on?*/
-    struct gwin_initparams *i_gwparams;  /*Ptr to window init params*/
+    int i_debug;               /*Turn debugging on? */
+    struct gwin_initparams *i_gwparams;        /*Ptr to window init params */
 };
 
 /*
  * Creation parameters for an onode.
  */
 struct onode_createparams {
-    int        cr_type;                        /*Type of onode*/
-    char cr_name[GATOR_OBJNAMELEN];    /*Object name*/
-    int        cr_x, cr_y;                     /*X and Y coordinates*/
-    int        cr_width, cr_height;            /*Width & height in pixels*/
-    struct gwin *cr_window;             /*Graphical window to use*/
-    struct onode *cr_home_obj;          /*Home object*/
-    struct onode *cr_prev_obj;          /*Object having this one as next*/
-    struct onode *cr_parent_obj;        /*This object's parent*/
-    char *cr_helpstring;               /*Ptr to object's help text*/
+    int cr_type;               /*Type of onode */
+    char cr_name[GATOR_OBJNAMELEN];    /*Object name */
+    int cr_x, cr_y;            /*X and Y coordinates */
+    int cr_width, cr_height;   /*Width & height in pixels */
+    struct gwin *cr_window;    /*Graphical window to use */
+    struct onode *cr_home_obj; /*Home object */
+    struct onode *cr_prev_obj; /*Object having this one as next */
+    struct onode *cr_parent_obj;       /*This object's parent */
+    char *cr_helpstring;       /*Ptr to object's help text */
 };
 
 /*
@@ -96,11 +96,11 @@ extern int gator_objects_init();
      *    Initialize the gator object package.
      *
      * Args:
-     *   struct onode_initparams *params: Initialization parameters.
+     *    struct onode_initparams *params: Initialization parameters.
      *
      * Returns:
-     *   0 on success,
-     *   Error value otherwise.
+     *    0 on success,
+     *    Error value otherwise.
      */
 
 extern struct onode *gator_objects_create();
@@ -109,11 +109,11 @@ extern struct onode *gator_objects_create();
      *    Create an onode of the given type.
      *
      * Args:
-     *   struct onode_createparams *params: Ptr to creation params.
+     *    struct onode_createparams *params: Ptr to creation params.
      *
      * Returns:
-     *   Ptr to newly-created onode if successful,
-     *   Null pointer otherwise.
+     *    Ptr to newly-created onode if successful,
+     *    Null pointer otherwise.
      */
 
 extern struct onode *gator_objects_lookup();
@@ -122,11 +122,11 @@ extern struct onode *gator_objects_lookup();
      *    Look up a gator onode by name.
      *
      * Args:
-     *   char *onode_name: Onode string name to find.
+     *    char *onode_name: Onode string name to find.
      *
      * Returns:
-     *   Ptr to onode matching the given name if one exists,
-     *   Null pointer otherwise.
+     *    Ptr to onode matching the given name if one exists,
+     *    Null pointer otherwise.
      */
 
 #endif /* __gator_objects_h */