PostgreSQL Source Code: src/tools/pg_bsd_indent/indent.h Source File (original) (raw)

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#if 0

28__FBSDID("$FreeBSD: head/usr.bin/indent/indent.h 303746 2016-08-04 15:27:09Z pfg $");

29#endif

30

31#define nitems(x) (sizeof((x)) / sizeof((x)[0]))

32

33struct parser_state;

34

42void diag2(int, const char *);

43void diag3(int, const char *, int);

44void diag4(int, const char *, int, int);

int compute_code_target(void)

int compute_label_target(void)

int lexi(struct parser_state *)

void diag2(int, const char *)

void diag3(int, const char *, int)

void set_profile(const char *)

int count_spaces_until(int, char *, char *)

void lookahead_reset(void)

void diag4(int, const char *, int, int)

void alloc_typenames(void)

int count_spaces(int, char *)

void add_typename(const char *)