#ifndef box_HH
#define box_HH

#define PUBLIC
#define PRIVATE static

/***********************************
  (C) Copyright 1992; dit/upm
   Distributed under the conditions stated in the
   TOPO General Public License (see file LICENSE)
 ***********************************
 $Log: box.desc,v $
 * Revision 2.2  1992/09/12  10:25:03  lotos
 * keep *.h inclusions under strict control
 *
 * Revision 2.1  1992/02/07  17:27:25  lotos
 * complete remake of reshuffling functions
 *
 * Revision 1.3  92/01/14  15:24:26  lotos
 * distribution issues
 * 
 * Revision 1.2  92/01/13  19:40:14  lotos
 * adjusted to new grammar
 * ready to ophuscate
 * 
 * Revision 1.1  91/01/31  16:07:04  lotos
 * Initial revision
 * 
 ***********************************/

#ifndef TRUE
#  define TRUE      1
#  define FALSE     0
#endif

# define ATOM  0
# define VL    1
# define HD    2
# define HS    3
# define OPTS  4

typedef struct box {
  int kind;
  int indent;
  int shift;
  int width;
  int room;
  char* text;
  struct box *son, *brother, *father;
  } box;

typedef box* BOX;

void pbegin ();
box* pend ();
box* batom ();
void patom ();
void pindent ();
void pbox ();
box* shift ();
void display ();
void displaystr ();
void displaystrn ();
void skip ();

/***** END of box.desc *****/
#endif
