yorickdewid / QUID

Quenza unique identifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QUID

Build Status

QUID or fully Quenza unique identifier is a globally unique number representing an object or subject. The QUID is based on the OSF UUID version 4, but exceeds in many ways.

The identifiers are generated with additional information such as timestamps, subcategories, and flags. The Quenza unique identifier is part of the official Quenza project and lays the foundation for the Valca database. Both the library and it's utilities can be used on the GNU Operating system without the need of additional Quenza software. This project is continued in the Quantica project

Library methods

The library (libquid) provides an interface for applications to use the Quenza identifier. Following functions are part of the library:

  • quid_create()
  • quid_get_uid()
  • quid_print()
  • quid_print_file()
  • quid_set_rnd_seed()
  • quid_set_mem_seed()

For additional information see the source code. The library source describes the arguments each function takes and lists their return type. Also see the example utility on how functions are used.

The build process

QUID is currently using autotools for the configuration and compiling process. In order to configure and make the project the following tools are required:

  • GNU aclocal
  • GNU autoconf
  • GNU automake
  • GNU libtool
  • GNU make

Most Linux distributions provide these tools under the name autotools. Run the commands listed below to build QUID.

mkdir Build
cd Build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . # make
ctest .         # make test

License

QUID, libquid and genquid are released under the terms of the Quenza license. Copyright (c) 2012-2020

About

Quenza unique identifier


Languages

Language:C 86.0%Language:C++ 6.8%Language:CMake 4.9%Language:Shell 2.3%