Lines Matching refs:fwProfile
38 mDNSFirewallInitialize(OUT INetFwProfile ** fwProfile) in mDNSFirewallInitialize() argument
45 _ASSERT(fwProfile != NULL); in mDNSFirewallInitialize()
47 *fwProfile = NULL; in mDNSFirewallInitialize()
69 err = fwPolicy->get_CurrentProfile(fwProfile); in mDNSFirewallInitialize()
103 IN INetFwProfile * fwProfile in mDNSFirewallCleanup() argument
108 if (fwProfile != NULL) in mDNSFirewallCleanup()
110 fwProfile->Release(); in mDNSFirewallCleanup()
118 IN INetFwProfile * fwProfile, in mDNSFirewallAppIsEnabled() argument
129 _ASSERT(fwProfile != NULL); in mDNSFirewallAppIsEnabled()
137 err = fwProfile->get_AuthorizedApplications(&fwApps); in mDNSFirewallAppIsEnabled()
192 IN INetFwProfile * fwProfile, in mDNSFirewallAddApp() argument
204 _ASSERT(fwProfile != NULL); in mDNSFirewallAddApp()
209 err = mDNSFirewallAppIsEnabled( fwProfile, fwProcessImageFileName, &fwAppEnabled ); in mDNSFirewallAddApp()
218 err = fwProfile->get_AuthorizedApplications(&fwApps); in mDNSFirewallAddApp()
289 IN INetFwProfile * fwProfile, in mDNSFirewallIsFileAndPrintSharingEnabled() argument
307 _ASSERT(fwProfile != NULL); in mDNSFirewallIsFileAndPrintSharingEnabled()
319 err = fwProfile->get_Services(&fwServices); in mDNSFirewallIsFileAndPrintSharingEnabled()
389 INetFwProfile * fwProfile = NULL; in mDNSAddToFirewall() local
408 err = mDNSFirewallInitialize(&fwProfile); in mDNSAddToFirewall()
409 require( SUCCEEDED( err ) && ( fwProfile != NULL ), exit); in mDNSAddToFirewall()
413 err = mDNSFirewallAddApp( fwProfile, executable, name ); in mDNSAddToFirewall()
420 if ( fwProfile != NULL ) in mDNSAddToFirewall()
422 mDNSFirewallCleanup(fwProfile); in mDNSAddToFirewall()
439 INetFwProfile * fwProfile = NULL; in mDNSIsFileAndPrintSharingEnabled() local
461 err = mDNSFirewallInitialize(&fwProfile); in mDNSIsFileAndPrintSharingEnabled()
462 require( SUCCEEDED( err ) && ( fwProfile != NULL ), exit); in mDNSIsFileAndPrintSharingEnabled()
464 err = mDNSFirewallIsFileAndPrintSharingEnabled( fwProfile, &enabled ); in mDNSIsFileAndPrintSharingEnabled()
471 if ( fwProfile != NULL ) in mDNSIsFileAndPrintSharingEnabled()
473 mDNSFirewallCleanup(fwProfile); in mDNSIsFileAndPrintSharingEnabled()