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

version» Context lines:

pike.git/src/modules/SANE/sane.c:27:   #include "module_support.h"   #include "builtin_functions.h"      #include "../Image/image.h"      /* must be included last */   #include "module_magic.h"      #define sp Pike_sp    - RCSID("$Id: sane.c,v 1.10 2002/05/11 00:27:03 nilsson Exp $"); + RCSID("$Id: sane.c,v 1.11 2002/05/19 15:25:24 per Exp $");      /*   **! module SANE   **!   **! This module enables access to the SANE (Scanner Access Now Easy)   **! library from pike   **!   **! note - **! $Id: sane.c,v 1.10 2002/05/11 00:27:03 nilsson Exp $ + **! $Id: sane.c,v 1.11 2002/05/19 15:25:24 per Exp $   */      static int sane_is_inited;      struct scanner   {    SANE_Handle h;   };      static void init_sane()
pike.git/src/modules/SANE/sane.c:64:   {    push_text( "name" ); push_text( d->name );    push_text( "vendor" ); push_text( d->vendor );    push_text( "model" ); push_text( d->model );    push_text( "type" ); push_text( d->type );    f_aggregate_mapping( 8 );   }         /* - **! method array(mapping) list-scanners() + **! method array(mapping) list_scanners()   **!   **! Returns an array with all available scanners.   **!   **! Example:   **! <pre>   **! Pike v0.7 release 120 running Hilfe v2.0 (Incremental Pike Frontend)   **! > SANE.list_scanners();   **! Result: ({   **! ([   **! "model":"Astra 1220S ",