mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Made all header files to have LABWC_ prefix in include guard identifers. Converted from __LABWC_ in 35 include/ files. Converted from __LAB_ in 5 include/ files. Added LABWC prefix to 3 include/ files. Added include guards to 3 include/ files. The double underscores were removed since according to C standard those "are always reserved for any use".
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
						|
#ifndef LABWC_SESSION_H
 | 
						|
#define LABWC_SESSION_H
 | 
						|
 | 
						|
/**
 | 
						|
 * session_environment_init - set enrivonment variables based on <key>=<value>
 | 
						|
 * @dir: path to config directory
 | 
						|
 * pairs in `${XDG_CONFIG_DIRS:-/etc/xdg}/lawbc/environment` with user override
 | 
						|
 * in `${XDG_CONFIG_HOME:-$HOME/.config}`
 | 
						|
 */
 | 
						|
void session_environment_init(const char *dir);
 | 
						|
 | 
						|
/**
 | 
						|
 * session_autostart_init - run autostart file as shell script
 | 
						|
 * @dir: path to config directory
 | 
						|
 * Note: Same as `sh ~/.config/labwc/autostart` (or equivalent XDG config dir)
 | 
						|
 */
 | 
						|
void session_autostart_init(const char *dir);
 | 
						|
 | 
						|
#endif /* LABWC_SESSION_H */
 |