|| ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id));
}
-size_t num_pipe_handles(pipes_struct *p)
+size_t num_pipe_handles(struct pipes_struct *p)
{
if (p->pipe_handles == NULL) {
return 0;
pipes of the same name.
****************************************************************************/
-bool init_pipe_handles(pipes_struct *p, const struct ndr_syntax_id *syntax)
+bool init_pipe_handles(struct pipes_struct *p, const struct ndr_syntax_id *syntax)
{
- pipes_struct *plist;
+ struct pipes_struct *plist;
struct handle_list *hl;
for (plist = get_first_internal_pipe();
data_ptr is TALLOC_FREE()'ed
****************************************************************************/
-static struct dcesrv_handle *create_rpc_handle_internal(pipes_struct *p,
+static struct dcesrv_handle *create_rpc_handle_internal(struct pipes_struct *p,
struct policy_handle *hnd, void *data_ptr)
{
struct dcesrv_handle *rpc_hnd;
return rpc_hnd;
}
-bool create_policy_hnd(pipes_struct *p, struct policy_handle *hnd,
+bool create_policy_hnd(struct pipes_struct *p, struct policy_handle *hnd,
void *data_ptr)
{
struct dcesrv_handle *rpc_hnd;
find policy by handle - internal version.
****************************************************************************/
-static struct dcesrv_handle *find_policy_by_hnd_internal(pipes_struct *p,
+static struct dcesrv_handle *find_policy_by_hnd_internal(struct pipes_struct *p,
const struct policy_handle *hnd, void **data_p)
{
struct dcesrv_handle *h;
find policy by handle
****************************************************************************/
-bool find_policy_by_hnd(pipes_struct *p, const struct policy_handle *hnd,
+bool find_policy_by_hnd(struct pipes_struct *p, const struct policy_handle *hnd,
void **data_p)
{
struct dcesrv_handle *rpc_hnd;
Close a policy.
****************************************************************************/
-bool close_policy_hnd(pipes_struct *p, struct policy_handle *hnd)
+bool close_policy_hnd(struct pipes_struct *p, struct policy_handle *hnd)
{
struct dcesrv_handle *rpc_hnd;
Close a pipe - free the handle set if it was the last pipe reference.
****************************************************************************/
-void close_policy_by_pipe(pipes_struct *p)
+void close_policy_by_pipe(struct pipes_struct *p)
{
p->pipe_handles->pipe_ref_count--;
token has enough access to access the pipe.
********************************************************************/
-bool pipe_access_check(pipes_struct *p)
+bool pipe_access_check(struct pipes_struct *p)
{
/* Don't let anonymous users access this RPC if restrict
anonymous > 0 */
Internal Pipe iterator functions.
****************************************************************************/
-pipes_struct *get_first_internal_pipe(void)
+struct pipes_struct *get_first_internal_pipe(void)
{
return InternalPipes;
}
-pipes_struct *get_next_internal_pipe(pipes_struct *p)
+struct pipes_struct *get_next_internal_pipe(struct pipes_struct *p)
{
return p->next;
}
bool check_open_pipes(void)
{
- pipes_struct *p;
+ struct pipes_struct *p;
for (p = InternalPipes; p != NULL; p = p->next) {
if (num_pipe_handles(p) != 0) {
const char *client_address,
struct auth_serversupplied_info *server_info)
{
- pipes_struct *p;
+ struct pipes_struct *p;
DEBUG(4,("Create pipe requested %s\n",
get_pipe_name_from_syntax(talloc_tos(), syntax)));