PostgreSQL Source Code  git master
segdata.h
Go to the documentation of this file.
1 /*
2  * contrib/seg/segdata.h
3  */
4 typedef struct SEG
5 {
8  char l_sigd;
9  char u_sigd;
10  char l_ext;
11  char u_ext;
12 } SEG;
13 
14 /* in seg.c */
15 extern int significant_digits(const char *s);
16 
17 /* in segscan.l */
18 extern int seg_yylex(void);
19 extern void seg_yyerror(SEG *result, struct Node *escontext,
20  const char *message);
21 extern void seg_scanner_init(const char *str);
22 extern void seg_scanner_finish(void);
23 
24 /* in segparse.y */
25 extern int seg_yyparse(SEG *result, struct Node *escontext);
float float4
Definition: c.h:616
int seg_yyparse(SEG *result, struct Node *escontext)
void seg_yyerror(SEG *result, struct Node *escontext, const char *message)
int significant_digits(const char *s)
Definition: seg.c:1064
int seg_yylex(void)
void seg_scanner_init(const char *str)
void seg_scanner_finish(void)
struct SEG SEG
Definition: nodes.h:129
Definition: segdata.h:5
char l_ext
Definition: segdata.h:10
char l_sigd
Definition: segdata.h:8
char u_sigd
Definition: segdata.h:9
float4 upper
Definition: segdata.h:7
char u_ext
Definition: segdata.h:11
float4 lower
Definition: segdata.h:6