Include files
The following header file is required in any file containing these library routines.
#include
"global_extern.h"
And it references
#include
"global_extern_proto.h"
Special Note
Make sure you use the proper define in the global_extern.h header file, namely:
#define USERD_API_300
And, also make sure the API version in the
USERD_get_reader_version
routine is set to the desired
version.
Unless explicitly stated otherwise, all arrays are zero based - in true C fashion.
Global variables
A big win of the new API 3.0 is that you no longer need globals. Simply
populate a struct and its pointer is passed in and out of the USERD routines as shown in
USERD_reader_open
, below.