MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/include/orbit-2.0/orbit/util/orbit-genrand.h
#ifndef ORBIT_GENRAND_H
#define ORBIT_GENRAND_H 1

#include <glib.h>

G_BEGIN_DECLS

#ifdef ORBIT2_INTERNAL_API

typedef enum {
	ORBIT_GENUID_STRONG,
	ORBIT_GENUID_SIMPLE
} ORBitGenUidType;

typedef enum {
	ORBIT_GENUID_COOKIE,
	ORBIT_GENUID_OBJECT_ID
} ORBitGenUidRole;

gboolean ORBit_genuid_init   (ORBitGenUidType type);
void     ORBit_genuid_fini   (void);
void     ORBit_genuid_buffer (guint8         *buffer,
			      int             length,
			      ORBitGenUidRole role);

#endif /* ORBIT2_INTERNAL_API */

G_END_DECLS

#endif /* ORBIT_GENRAND_H */