IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2007, 2:38:13 PM (19 years ago)
Author:
jhoblitt
Message:

add pxNodePrint()
add pxTreeCrawl()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxtree.h

    r14489 r14494  
    2121#define PXTREE_H 1
    2222
     23#include <stdio.h>
     24#include <stdbool.h>
     25
    2326#include <pslib.h>
     27
    2428
    2529typedef struct pxNode {
     
    2933} pxNode;
    3034
     35typedef bool (*pxNodeFunc)(pxNode *node);
     36
    3137pxNode *pxNodeAlloc(
    3238    const char *name,
    3339    pxNode  *parent
    3440) PS_ATTR_MALLOC;
     41
     42void pxNodePrint(
     43    FILE *stream,
     44    pxNode  *node
     45);
     46
     47bool pxTreeCrawl(
     48    pxNode  *node,
     49    pxNodeFunc func
     50);
    3551
    3652/*
Note: See TracChangeset for help on using the changeset viewer.