pipe is open. JRA.
****************************************************************************/
-static BOOL is_samr_lsa_pipe(const char *pipe_name)
+static bool is_samr_lsa_pipe(const char *pipe_name)
{
return (strstr(pipe_name, "samr") || strstr(pipe_name, "lsa"));
}
pipes of the same name.
****************************************************************************/
-BOOL init_pipe_handle_list(pipes_struct *p, const char *pipe_name)
+bool init_pipe_handle_list(pipes_struct *p, const char *pipe_name)
{
pipes_struct *plist = get_first_internal_pipe();
struct handle_list *hl = NULL;
find first available policy slot. creates a policy handle for you.
****************************************************************************/
-BOOL create_policy_hnd(pipes_struct *p, POLICY_HND *hnd, void (*free_fn)(void *), void *data_ptr)
+bool create_policy_hnd(pipes_struct *p, POLICY_HND *hnd, void (*free_fn)(void *), void *data_ptr)
{
static uint32 pol_hnd_low = 0;
static uint32 pol_hnd_high = 0;
find policy by handle
****************************************************************************/
-BOOL find_policy_by_hnd(pipes_struct *p, POLICY_HND *hnd, void **data_p)
+bool find_policy_by_hnd(pipes_struct *p, POLICY_HND *hnd, void **data_p)
{
return find_policy_by_hnd_internal(p, hnd, data_p) == NULL ? False : True;
}
Close a policy.
****************************************************************************/
-BOOL close_policy_hnd(pipes_struct *p, POLICY_HND *hnd)
+bool close_policy_hnd(pipes_struct *p, POLICY_HND *hnd)
{
struct policy *pol = find_policy_by_hnd_internal(p, hnd, NULL);
token has enough access to access the pipe.
********************************************************************/
-BOOL pipe_access_check(pipes_struct *p)
+bool pipe_access_check(pipes_struct *p)
{
/* Don't let anonymous users access this RPC if restrict
anonymous > 0 */