Chris PeBenito c141d8
## <summary>Provides a DBus interface to communicate with mobile broadband (GSM, CDMA, UMTS, ...) cards.</summary>
Chris PeBenito c141d8
Chris PeBenito c141d8
########################################
Chris PeBenito c141d8
## <summary>
Chris PeBenito c141d8
##	Execute a domain transition to run modemmanager.
Chris PeBenito c141d8
## </summary>
Chris PeBenito c141d8
## <param name="domain">
Chris PeBenito c141d8
## <summary>
Chris PeBenito c141d8
##	Domain allowed to transition.
Chris PeBenito c141d8
## </summary>
Chris PeBenito c141d8
## </param>
Chris PeBenito c141d8
#
Chris PeBenito c141d8
interface(`modemmanager_domtrans',`
Chris PeBenito c141d8
	gen_require(`
Chris PeBenito c141d8
		type modemmanager_t, modemmanager_exec_t;
Chris PeBenito c141d8
	')
Chris PeBenito c141d8
Chris PeBenito c141d8
	domtrans_pattern($1, modemmanager_exec_t, modemmanager_t)
Chris PeBenito c141d8
')
Chris PeBenito c141d8
Chris PeBenito c141d8
########################################
Chris PeBenito c141d8
## <summary>
Chris PeBenito c141d8
##	Send and receive messages from
Chris PeBenito c141d8
##	modemmanager over dbus.
Chris PeBenito c141d8
## </summary>
Chris PeBenito c141d8
## <param name="domain">
Chris PeBenito c141d8
##	<summary>
Chris PeBenito c141d8
##	Domain allowed access.
Chris PeBenito c141d8
##	</summary>
Chris PeBenito c141d8
## </param>
Chris PeBenito c141d8
#
Chris PeBenito c141d8
interface(`modemmanager_dbus_chat',`
Chris PeBenito c141d8
	gen_require(`
Chris PeBenito c141d8
		type modemmanager_t;
Chris PeBenito c141d8
		class dbus send_msg;
Chris PeBenito c141d8
	')
Chris PeBenito c141d8
Chris PeBenito c141d8
	allow $1 modemmanager_t:dbus send_msg;
Chris PeBenito c141d8
	allow modemmanager_t $1:dbus send_msg;
Chris PeBenito c141d8
')