~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to erts/emulator/beam/erl_drv_nif.h

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * %CopyrightBegin%
 
3
 *
 
4
 * Copyright Ericsson AB 2010. All Rights Reserved.
 
5
 *
 
6
 * The contents of this file are subject to the Erlang Public License,
 
7
 * Version 1.1, (the "License"); you may not use this file except in
 
8
 * compliance with the License. You should have received a copy of the
 
9
 * Erlang Public License along with this software. If not, it can be
 
10
 * retrieved online at http://www.erlang.org/.
 
11
 *
 
12
 * Software distributed under the License is distributed on an "AS IS"
 
13
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
14
 * the License for the specific language governing rights and limitations
 
15
 * under the License.
 
16
 *
 
17
 * %CopyrightEnd%
 
18
 */
 
19
 
 
20
/*
 
21
 * Common structures for both erl_driver.h and erl_nif.h
 
22
 */
 
23
 
 
24
#ifndef __ERL_DRV_NIF_H__
 
25
#define __ERL_DRV_NIF_H__
 
26
 
 
27
typedef struct {
 
28
    int driver_major_version;
 
29
    int driver_minor_version;
 
30
    char *erts_version;
 
31
    char *otp_release;
 
32
    int thread_support;
 
33
    int smp_support;
 
34
    int async_threads;
 
35
    int scheduler_threads;
 
36
    int nif_major_version;
 
37
    int nif_minor_version;
 
38
}  ErlDrvSysInfo;
 
39
 
 
40
typedef struct {
 
41
    int suggested_stack_size;
 
42
} ErlDrvThreadOpts;
 
43
 
 
44
#endif  /* __ERL_DRV_NIF_H__ */
 
45
 
 
46
 
 
47
 
 
48