Commit 0cbc83c0 authored by ellson's avatar ellson

add lefty, dotty, lneato to graphviz2 tree

parent e4ce453a
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS = -I$(top_srcdir)/lefty
if WITH_X
noinst_LTLIBRARIES = libos.la
endif
libos_la_SOURCES = io.c
EXTRA_DIST = $(libos_la_SOURCES)
This diff is collapsed.
This diff is collapsed.
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/**********************************************************
* This software is part of the graphviz package *
* http://www.graphviz.org/ *
* *
* Copyright (c) 1994-2004 AT&T Corp. *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Corp. *
* *
* Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Bell Laboratories */
#ifndef _PARSE_H
#define _PARSE_H
typedef struct Psrc_t {
int flag;
char *s;
FILE *fp;
int tok;
int lnum;
} Psrc_t;
void Pinit(void);
void Pterm(void);
Tobj Punit(Psrc_t *);
Tobj Pfcall(Tobj, Tobj);
Tobj Pfunction(char *, int);
#endif /* _PARSE_H */
#ifdef __cplusplus
}
#endif
This diff is collapsed.
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/**********************************************************
* This software is part of the graphviz package *
* http://www.graphviz.org/ *
* *
* Copyright (c) 1994-2004 AT&T Corp. *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Corp. *
* *
* Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Bell Laboratories */
#ifndef _STR_H
#define _STR_H
void Sinit(void);
void Sterm(void);
char *Spath(char *, Tobj);
char *Sseen(Tobj, char *);
char *Sabstract(Tobj, Tobj);
char *Stfull(Tobj);
char *Ssfull(Tobj, Tobj);
char *Scfull(Tobj, int, int);
#endif /* _STR_H */
#ifdef __cplusplus
}
#endif
This diff is collapsed.
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/**********************************************************
* This software is part of the graphviz package *
* http://www.graphviz.org/ *
* *
* Copyright (c) 1994-2004 AT&T Corp. *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Corp. *
* *
* Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Bell Laboratories */
#ifndef _TBL_H
#define _TBL_H
typedef enum {
T_INTEGER = 1, T_REAL, T_STRING, T_CODE, T_TABLE, T_SIZE
} Ttype_t;
typedef struct Tinteger_t {
Mheader_t head;
long i;
} Tinteger_t;
#define T_INTEGERSIZE sizeof (Tinteger_t)
typedef struct Treal_t {
Mheader_t head;
double d;
} Treal_t;
#define T_REALSIZE sizeof (Treal_t)
typedef struct Tstring_t {
Mheader_t head;
char s[1];
} Tstring_t;
#define T_STRINGSIZE(l) (l + Tstringoffset)
typedef struct Tcode_t {
Mheader_t head;
Code_t c[1];
} Tcode_t;
#define T_CODESIZE(l) (l * C_CODESIZE + Tcodeoffset)
typedef struct Tkv_t {
void *ko;
void *vo;
} Tkv_t;
#define T_KVSIZE sizeof (Tkv_t)
typedef struct Tkvlist_t {
long i, n;
Tkv_t kv[1];
} Tkvlist_t;
#define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset)
#define T_KVLISTPTRSIZE sizeof (Tkvlist_t *)
typedef struct Ttable_t {
Mheader_t head;
long n, ln;
long time;
Tkvlist_t **lp;
} Ttable_t;
#define T_TABLESIZE sizeof (Ttable_t)
typedef struct Tkvindex_t {
Ttable_t *tp;
Tkv_t *kvp;
long i, j;
} Tkvindex_t;
typedef void *Tobj;
typedef struct Tonm_t { /* Object aNd Mark */
Tobj o;
long m;
} Tonm_t;
#define T_ISSTRING(o) (M_TYPEOF (o) == T_STRING)
#define T_ISTABLE(o) (M_TYPEOF (o) == T_TABLE)
#define T_ISINTEGER(o) (M_TYPEOF (o) == T_INTEGER)
#define T_ISREAL(o) (M_TYPEOF (o) == T_REAL)
#define T_ISNUMBER(o) (M_TYPEOF (o) == T_REAL || M_TYPEOF (o) == T_INTEGER)
#define Tgettype(p) ((Ttype_t)(((Mheader_t *) p)->type))
#define Tgettablen(p) (((Ttable_t *) p)->n)
#define Tgettime(p) (((Ttable_t *) p)->time)
#define Tgetstring(p) (char *) &(((Tstring_t *) p)->s[0])
#define Tgetcode(p) (Code_t *) &(((Tcode_t *) p)->c[0])
#define Tgetinteger(p) (((Tinteger_t *) p)->i)
#define Tgetreal(p) (((Treal_t *) p)->d)
#define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p))
#define TCgettype(p, off) ((Tgetcode (p) + off)->ctype)
#define TCgetfp(p, off) ((Tgetcode (p) + off)->u.fp)
#define TCgetinteger(p, off) ((Tgetcode (p) + off)->u.i)
#define TCgetobject(p, off) ((Tgetcode (p) + off)->u.o)
#define TCgetreal(p, off) ((Tgetcode (p) + off)->u.d)
#define TCgetstring(p, off) ((char *) &((Tgetcode (p) + off)->u.s))
#define TCgetnext(p, off) ((Tgetcode (p) + off)->next)
#define TCgetaddr(p, off) (Tgetcode (p) + off)
extern long Ttime;
extern int Tstringoffset, Tcodeoffset, Tkvoffset;
extern Tobj Ttrue, Tfalse;
void Tinit(void);
void Tterm(void);
void Tgchelper(void *);
void Tfreehelper(void *);
Tobj Tinteger(long);
Tobj Treal(double);
Tobj Tstring(char *);
Tobj Tcode(Code_t *, int, int);
Tobj Ttable(long);
void Tinsi(Tobj, long, Tobj);
void Tinsr(Tobj, double, Tobj);
void Tinss(Tobj, char *, Tobj);
void Tinso(Tobj, Tobj, Tobj);
Tobj Tfindi(Tobj, long);
Tobj Tfindr(Tobj, double);
Tobj Tfinds(Tobj, char *);
Tobj Tfindo(Tobj, Tobj);
void Tdeli(Tobj, long);
void Tdelr(Tobj, double);
void Tdels(Tobj, char *);
void Tdelo(Tobj, Tobj);
Tobj Tcopy(Tobj);
void Tgetfirst(Tobj, Tkvindex_t *);
void Tgetnext(Tkvindex_t *);
#endif /* _TBL_H */
#ifdef __cplusplus
}
#endif
This diff is collapsed.
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/**********************************************************
* This software is part of the graphviz package *
* http://www.graphviz.org/ *
* *
* Copyright (c) 1994-2004 AT&T Corp. *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Corp. *
* *
* Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Bell Laboratories */
#ifndef _TXTVIEW_H
#define _TXTVIEW_H
void TXTinit(Grect_t);
void TXTterm(void);
int TXTmode(int argc, lvar_t * argv);
int TXTask(int argc, lvar_t * argv);
void TXTprocess(int, char *);
void TXTupdate(void);
void TXTtoggle(int, void *);
#endif /* _TXTVIEW_H */
#ifdef __cplusplus
}
#endif
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
## Process this file with automake to produce Makefile.in
SUBDIRS = x11
EXTRA_DIST = mswin32 none
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment