img_scanner.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*------------------------------------------------------------------------
  2. * Copyright 2007-2009 (c) Jeff Brown <spadix@users.sourceforge.net>
  3. *
  4. * This file is part of the ZBar Bar Code Reader.
  5. *
  6. * The ZBar Bar Code Reader is free software; you can redistribute it
  7. * and/or modify it under the terms of the GNU Lesser Public License as
  8. * published by the Free Software Foundation; either version 2.1 of
  9. * the License, or (at your option) any later version.
  10. *
  11. * The ZBar Bar Code Reader is distributed in the hope that it will be
  12. * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
  13. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU Lesser Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser Public License
  17. * along with the ZBar Bar Code Reader; if not, write to the Free
  18. * Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  19. * Boston, MA 02110-1301 USA
  20. *
  21. * http://sourceforge.net/projects/zbar
  22. *------------------------------------------------------------------------*/
  23. #ifndef _IMG_SCANNER_H_
  24. #define _IMG_SCANNER_H_
  25. #include <zbar.h>
  26. /* internal image scanner APIs for 2D readers */
  27. extern zbar_symbol_t *_zbar_image_scanner_alloc_sym(zbar_image_scanner_t*,
  28. zbar_symbol_type_t,
  29. int);
  30. extern void _zbar_image_scanner_add_sym(zbar_image_scanner_t*,
  31. zbar_symbol_t*);
  32. extern void _zbar_image_scanner_recycle_syms(zbar_image_scanner_t*,
  33. zbar_symbol_t*);
  34. #endif