mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	This completes (at least for now) the project of getting rid of ad-hoc linkages among the src/bin/ subdirectories. Everything they share is now in src/fe_utils/ and is included from a static library at link time. A side benefit is that we can restore the FLEX_NO_BACKUP check for psqlscanslash.l. We might need to think of another way to do that check if we ever need to build two lexers with that property in the same source directory, but there's no foreseeable reason to need that.
		
			
				
	
	
		
			18 lines
		
	
	
		
			335 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			335 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * psql - the PostgreSQL interactive terminal
 | |
|  *
 | |
|  * Copyright (c) 2000-2016, PostgreSQL Global Development Group
 | |
|  *
 | |
|  * src/bin/psql/mainloop.h
 | |
|  */
 | |
| #ifndef MAINLOOP_H
 | |
| #define MAINLOOP_H
 | |
| 
 | |
| #include "fe_utils/psqlscan.h"
 | |
| 
 | |
| extern const PsqlScanCallbacks psqlscan_callbacks;
 | |
| 
 | |
| extern int	MainLoop(FILE *source);
 | |
| 
 | |
| #endif   /* MAINLOOP_H */
 |