File: random.idl

package info (click to toggle)
polyorb 2.11~20140418-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 30,012 kB
  • ctags: 465
  • sloc: ada: 273,015; sh: 4,507; makefile: 4,265; python: 1,332; cpp: 1,213; java: 507; ansic: 274; xml: 30; perl: 23; exp: 6
file content (14 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (9)
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();
};