summaryrefslogtreecommitdiff
path: root/ext/satellite/tests/random.idl
blob: 54ffd8412632fa78f05eb9d5837ef539f8e66e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// This interface was copied from http://random.org/corba.html, where you can
// also find the current IOR of the server.
// See client.cc for details.

// IDL
interface Random {

    // return non-negative long integer in the interval [0, 2^31)
    long lrand48();

    // return signed long integer in the interval [-2^31, 2^31)
    long mrand48();
};