~ubuntu-branches/ubuntu/breezy/orbit2/breezy

« back to all changes in this revision

Viewing changes to include/orbit/util/orbit-genrand.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-09-06 16:37:02 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050906163702-hrqi0ctymth53bnn
Tags: 1:2.12.4-0ubuntu1
* New upstream version.
* debian/patches/100-compile-name-server.patch:
  - updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
1
2
#ifndef ORBIT_GENRAND_H
2
3
#define ORBIT_GENRAND_H 1
3
4
 
9
10
 
10
11
typedef enum {
11
12
        ORBIT_GENUID_STRONG,
12
 
        ORBIT_GENUID_SIMPLE,
 
13
        ORBIT_GENUID_SIMPLE
13
14
} ORBitGenUidType;
14
15
 
15
 
void ORBit_genuid_init   (ORBitGenUidType type);
16
 
void ORBit_genuid_fini   (void);
17
 
void ORBit_genuid_buffer (guchar *buffer, int length);
 
16
typedef enum {
 
17
        ORBIT_GENUID_COOKIE,
 
18
        ORBIT_GENUID_OBJECT_ID
 
19
} ORBitGenUidRole;
 
20
 
 
21
gboolean ORBit_genuid_init   (ORBitGenUidType type);
 
22
void     ORBit_genuid_fini   (void);
 
23
void     ORBit_genuid_buffer (guint8         *buffer,
 
24
                              int             length,
 
25
                              ORBitGenUidRole role);
18
26
 
19
27
#endif /* ORBIT2_INTERNAL_API */
20
28