pike.git / src / modules / SANE / sane.c

version» Context lines:

pike.git/src/modules/SANE/sane.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: sane.c,v 1.25 2005/11/16 16:21:09 grubba Exp $ + || $Id: sane.c,v 1.26 2008/06/28 23:06:01 nilsson Exp $   */      #include "config.h"      #if (defined(HAVE_SANE_SANE_H) || defined(HAVE_SANE_H)) && defined(HAVE_LIBSANE)   #ifdef HAVE_SANE_SANE_H   #include <sane/sane.h>   #elif defined(HAVE_SANE_H)   #include <sane.h>   #endif
pike.git/src/modules/SANE/sane.c:800:    tFunc(tFunc(tObj tInt tObj,tVoid),tVoid), 0 );       ADD_FUNCTION( "nonblocking_row_scan", f_scanner_nonblocking_row_scan,    tFunc(tFunc(tObj tInt tObj tInt,tVoid),tVoid), 0 );       ADD_FUNCTION( "cancel_scan", f_scanner_cancel_scan, tFunc(tNone, tObj), 0 );       ADD_FUNCTION( "get_parameters", f_scanner_get_parameters,    tFunc(tNone, tMapping), 0 );    -  ADD_FUNCTION( "create", f_scanner_create, tFunc(tStr, tVoid), ID_STATIC ); +  ADD_FUNCTION( "create", f_scanner_create, tFunc(tStr, tVoid), ID_PROTECTED );       set_init_callback(init_scanner_struct);    set_exit_callback(exit_scanner_struct);       add_program_constant( "Scanner", (p=end_program( ) ), 0 );    free_program( p );   }      PIKE_MODULE_EXIT   {