Percy++
A C++ implementation of Private Information Retrieval (PIR) protocols
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
Macros
percytypes.h File Reference

This header contains typedefs for seamless switching between 32- and 64-bit builds of Percy++. More...

#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>

Go to the source code of this file.

Detailed Description

This header contains typedefs for seamless switching between 32- and 64-bit builds of Percy++.

The macros that we use to detect the build type are adapted from the discussion at: "http://stackoverflow.com/questions/5272825/detecting-64bit-compile-in-c"

sid_t
server ids
dbsize_t
blocks; words/block; bytes/word
dbbits_t
total bits in database
dboffset_t
offset into database (in bytes)
nqueries_t
number of simultanous queries
nservers_t
number of servers; privacy threshold; tau-independence