mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	mwi core: Move core MWI functionality into its own files
There is enough MWI functionality to warrant it having its own 'c' and header files. This patch moves all current core MWI data structures, and functions into the following files: main/mwi.h main/mwi.c Note, code was simply moved, and not modified. However, this patch is also in preparation for core MWI changes, and additions to come. Change-Id: I9dde8bfae1e7ec254fa63166e090f77e4d3097e0
This commit is contained in:
		| @@ -210,6 +210,7 @@ int daemon(int, int);  /* defined in libresolv of all places */ | ||||
| #include "asterisk/cdr.h" | ||||
| #include "asterisk/pbx.h" | ||||
| #include "asterisk/app.h" | ||||
| #include "asterisk/mwi.h" | ||||
| #include "asterisk/lock.h" | ||||
| #include "asterisk/utils.h" | ||||
| #include "asterisk/file.h" | ||||
| @@ -4122,6 +4123,7 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou | ||||
| 	read_pjproject_startup_options(); | ||||
| 	check_init(ast_pj_init(), "Embedded PJProject"); | ||||
| 	check_init(app_init(), "App Core"); | ||||
| 	check_init(mwi_init(), "MWI Core"); | ||||
| 	check_init(devstate_init(), "Device State Core"); | ||||
| 	check_init(ast_msg_init(), "Messaging API"); | ||||
| 	check_init(ast_channels_init(), "Channel"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user