[digraphanalysis-cvs] digraphanalysis/src node.c, node.h,
Status: Planning
Brought to you by:
jbreker
|
From: Jeff B. <jb...@us...> - 2005-04-25 04:53:22
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10101 Modified Files: node.c node.h Log Message: woops commited when it didn't compile... Index: node.h =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/node.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** node.h 21 Apr 2005 18:44:42 -0000 1.6 --- node.h 25 Apr 2005 04:53:14 -0000 1.7 *************** *** 38,47 **** --- 38,51 ---- }; + int node_compare(struct node *, struct node *); + int node_compare_msd(struct node *, struct node *); unsigned int node_distance(struct node *, struct node *); void node_free(struct node *); struct node *node_new(char *); + void node_print(FILE *, struct node *); struct node *nodelist_add(struct nodelist *, struct node *); struct node *nodelist_add_msd(struct nodelist *, struct node *); + int nodelist_compare(struct nodelist *, struct nodelist *); struct nodelist *nodelist_duplicate(struct nodelist *); struct node *nodelist_find(struct nodelist *, struct node *); Index: node.c =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/node.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** node.c 25 Apr 2005 04:40:03 -0000 1.8 --- node.c 25 Apr 2005 04:53:14 -0000 1.9 *************** *** 49,52 **** --- 49,60 ---- } + void + node_print(FILE *filep, struct node *node) + { + fprintf(filep, "%s\n", node->uid); + + return; + } + struct node * nodelist_add(struct nodelist *node_list, struct node *node) *************** *** 222,225 **** --- 230,234 ---- { int i; + struct node *tmp_node; struct nodelink *node_link; *************** *** 258,261 **** --- 267,271 ---- nodelist_subtract(struct nodelist *node_list1, struct nodelist *node_list2) { + return NULL; } *************** *** 263,266 **** --- 273,277 ---- nodelist_union(struct nodelist *node_list1, struct nodelist *node_list2) { + return NULL; } |