Changeset 233 for trunk/lib/regfi.c


Ignore:
Timestamp:
04/28/11 23:28:16 (13 years ago)
Author:
tim
Message:

improved version information interface by adding a special purpose function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/regfi.c

    r228 r233  
    3434#include "regfi.h"
    3535
     36/* Library version can be overridden at build time */
     37#ifndef REGFI_VERSION
     38#define REGFI_VERSION "trunk"
     39#endif
     40
    3641
    3742/* Registry types mapping */
     
    4853static pthread_once_t regfi_init_once = PTHREAD_ONCE_INIT;
    4954
     55
     56/******************************************************************************
     57 ******************************************************************************/
     58const char* regfi_version()
     59{
     60  return REGFI_VERSION;
     61}
    5062
    5163
Note: See TracChangeset for help on using the changeset viewer.