summaryrefslogtreecommitdiff
path: root/base/query.h
blob: 338e6f57eb96d5aa649fcfdc310f7016db059067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _QUERY_H
#define _QUERY_H

/* typeahead and prompt routines */
extern void typeahead(char *str);
extern void promptstring(char *prompt, char *buf);
extern FILE *promptstring_infile;


/* various printing routines */
#ifdef TCL_NETGEN
extern void PrintAllElements(char *cell, int fnum);
extern void ElementNodes(char *cell, char *element, int fnum);
#else
extern void PrintElement(char *cell, char *list_template);
#endif
extern void Fanout(char *cell, char *node, int filter);
extern void PrintNodes(char *name, int file);
extern void PrintCell(char *name, int file);
extern void PrintInstances(char *name, int file);
extern void DescribeInstance(char *name, int file);
extern void PrintPortsInCell(char *cellname, int file);
extern void PrintLeavesInCell(char *cellname, int file);
extern void PrintAllLeaves(void);

extern int ChangeScopeCurrent(char *pattern, int typefrom, int typeto);
extern int ChangeScope(int fnum, char *cellname, char *pattern,
		int typefrom, int typeto);

#endif /* _QUERY_H */