v0.0.1 release
[libfprint.git] / libfprint / nbis / include / log.h
blob36967f19e3c3cb7bd5e1231a6d975594af0bcc27
1 /*******************************************************************************
3 License:
4 This software was developed at the National Institute of Standards and
5 Technology (NIST) by employees of the Federal Government in the course
6 of their official duties. Pursuant to title 17 Section 105 of the
7 United States Code, this software is not subject to copyright protection
8 and is in the public domain. NIST assumes no responsibility whatsoever for
9 its use by other parties, and makes no guarantees, expressed or implied,
10 about its quality, reliability, or any other characteristic.
12 Disclaimer:
13 This software was developed to promote biometric standards and biometric
14 technology testing for the Federal Government in accordance with the USA
15 PATRIOT Act and the Enhanced Border Security and Visa Entry Reform Act.
16 Specific hardware and software products identified in this software were used
17 in order to perform the software development. In no case does such
18 identification imply recommendation or endorsement by the National Institute
19 of Standards and Technology, nor does it imply that the products and equipment
20 identified are necessarily the best available for the purpose.
22 *******************************************************************************/
24 #ifndef _LOG_H
25 #define _LOG_H
27 /* Definitions and references to support log report files. */
28 /* UPDATED: 03/16/2005 by MDG */
30 #include <stdio.h>
31 #include <stdlib.h>
32 #include <stdarg.h>
34 #ifdef LOG_REPORT
35 /* Uncomment the following line to enable logging. */
36 #define LOG_FILE "log.txt"
37 #endif
39 extern FILE *logfp;
40 extern int avrdir;
41 extern float dir_strength;
42 extern int nvalid;
44 extern int open_logfile(void);
45 extern int close_logfile(void);
46 extern void print2log(char *, ...);
48 #endif