Fingerprint interface.h: Difference between revisions

From wizarPOS
(Created page with " #ifndef _FINGERPRINT_INTERFACE_H #define _FINGERPRINT_INTERFACE_H #ifdef __cplusplus extern "C" { #endif typedef int (*fp_open)(void); typedef int (*fp_clo...")
 
No edit summary
 
Line 1: Line 1:
  <syntaxhighlight lang="c">
   #ifndef _FINGERPRINT_INTERFACE_H
   #ifndef _FINGERPRINT_INTERFACE_H
   #define _FINGERPRINT_INTERFACE_H
   #define _FINGERPRINT_INTERFACE_H
Line 24: Line 25:
   #endif
   #endif
   #endif
   #endif
  </syntaxhighlight>

Latest revision as of 03:26, 9 April 2018

  #ifndef _FINGERPRINT_INTERFACE_H
  #define _FINGERPRINT_INTERFACE_H
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  typedef int (*fp_open)(void);
  
  typedef int (*fp_close)(void);
  
  typedef int (*fp_get_fea)(unsigned char *pFeaBuffer, int nFeaLength,
  		int *pRealFeaLength, int n_TimeOut_S);
  
  typedef int (*fp_getLastImage)(unsigned char *pImgBuffer, int nImgLength,
  		int *pRealImaLength, int *pImgWidth, int *pImgHeight);
  
  typedef int (*fp_match)(unsigned char *pFeaBuffer1, int nFea1Length,
  		unsigned char *pFealBuffer2, int nFea2Length);
  
  typedef int (*fp_cancel)(void);
  
  #ifdef __cplusplus
  }
  #endif
  #endif