Lines Matching defs:pp_init
650 pp_init( void )
657 DBG( 5, "pp_init: already initialized\n" );
661 DBG( 5, "pp_init: called for the first time\n");
666 DBG( 4, "pp_init: initializing libieee1284\n");
670 DBG (1, "pp_init: initializing IEEE 1284 failed (%s)\n",
676 DBG( 3, "pp_init: %d ports reported by IEEE 1284 library\n", pplist.portc);
679 DBG( 6, "pp_init: port %d is `%s`\n", i, pplist.portv[i]->name);
683 DBG (1, "pp_init: Lib IEEE 1284 reports too much ports: %d\n",
694 DBG( 4, "pp_init: trying to setuid root\n");
697 DBG( 1, "pp_init: setuid failed: errno = %d\n", errno );
698 DBG( 5, "pp_init: returning SANE_STATUS_INVAL\n" );
704 DBG( 3, "pp_init: the application is now root\n" );
708 DBG( 5, "pp_init: initialized successfully\n" );
895 result = pp_init();