• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/rpc_server/

Lines Matching refs:hnd

254 static Printer_entry *find_printer_index_by_hnd(pipes_struct *p, POLICY_HND *hnd)
258 if(!find_policy_by_hnd(p,hnd,(void **)(void *)&find_printer)) {
270 static BOOL close_printer_handle(pipes_struct *p, POLICY_HND *hnd)
272 Printer_entry *Printer = find_printer_index_by_hnd(p, hnd);
275 DEBUG(2,("close_printer_handle: Invalid handle (%s:%u:%u)\n", OUR_HANDLE(hnd)));
279 close_policy_hnd(p, hnd);
340 static WERROR delete_printer_handle(pipes_struct *p, POLICY_HND *hnd)
342 Printer_entry *Printer = find_printer_index_by_hnd(p, hnd);
345 DEBUG(2,("delete_printer_handle: Invalid handle (%s:%u:%u)\n", OUR_HANDLE(hnd)));
376 static BOOL get_printer_snum(pipes_struct *p, POLICY_HND *hnd, int *number)
378 Printer_entry *Printer = find_printer_index_by_hnd(p, hnd);
381 DEBUG(2,("get_printer_snum: Invalid handle (%s:%u:%u)\n", OUR_HANDLE(hnd)));
559 static BOOL open_printer_hnd(pipes_struct *p, POLICY_HND *hnd, char *name, uint32 access_granted)
570 if (!create_policy_hnd(p, hnd, free_printer_entry, new_printer)) {
580 if ( !(new_printer->ctx = talloc_init("Printer Entry [%p]", hnd)) ) {
582 close_printer_handle(p, hnd);
587 close_printer_handle(p, hnd);
592 close_printer_handle(p, hnd);
3729 static WERROR printserver_notify_info(pipes_struct *p, POLICY_HND *hnd,
3734 Printer_entry *Printer=find_printer_index_by_hnd(p, hnd);
3794 static WERROR printer_notify_info(pipes_struct *p, POLICY_HND *hnd, SPOOL_NOTIFY_INFO *info,
3798 Printer_entry *Printer=find_printer_index_by_hnd(p, hnd);
3824 get_printer_snum(p, hnd, &snum);