Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
_beos.h File Reference
#include "prtypes.h"
#include "prio.h"
#include "prthread.h"
#include "prproces.h"
#include "prmem.h"
#include "obsolete/prsem.h"
#include <errno.h>
#include <support/SupportDefs.h>
#include <kernel/OS.h>
#include <dirent.h>

Go to the source code of this file.

Classes

struct  _MDThread
struct  _MDThreadStack
struct  _MDLock
struct  _MDCVar
struct  _MDSemaphore
struct  _MDCPU
struct  _MDProcess
struct  _MDSegment
struct  _MDFileDesc
struct  _MDDir
struct  _MDFileMap
struct  protoent

Defines

#define PR_LINKER_ARCH   "beos"
#define _PR_SI_SYSNAME   "BEOS"
#define _PR_SI_ARCHITECTURE   "x86"
#define PR_DLL_SUFFIX   ".so"
#define _PR_VMBASE   0x30000000
#define _PR_STACK_VMBASE   0x50000000
#define _MD_DEFAULT_STACK_SIZE   65536L
#define _MD_MMAP_FLAGS   MAP_PRIVATE
#define HAVE_DLL
#define _PR_NO_CLOCK_TIMER
#define _PR_HAVE_ATOMIC_OPS
#define _MD_INIT_ATOMIC   _MD_AtomicInit
#define _MD_ATOMIC_INCREMENT   _MD_AtomicIncrement
#define _MD_ATOMIC_ADD   _MD_AtomicAdd
#define _MD_ATOMIC_DECREMENT   _MD_AtomicDecrement
#define _MD_ATOMIC_SET   _MD_AtomicSet
#define HAVE_CVAR_BUILT_ON_SEM
#define _PR_GLOBAL_THREADS_ONLY
#define _PR_BTHREADS
#define _PR_NEED_FAKE_POLL
#define _PR_HAVE_PEEK_BUFFER
#define _PR_PEEK_BUFFER_MAX   (16 * 1024)
#define _PR_FD_NEED_EMULATE_MSG_PEEK(fd)   1
#define _PR_CONNECT_DOES_NOT_BIND
#define _PR_HAVE_O_APPEND
#define BE_SOCK_SHUTDOWN_READ   0x01
#define BE_SOCK_SHUTDOWN_WRITE   0x02
#define PR_DIRECTORY_SEPARATOR   '/'
#define PR_DIRECTORY_SEPARATOR_STR   "/"
#define PR_PATH_SEPARATOR   ':'
#define PR_PATH_SEPARATOR_STR   ":"
#define GETTIMEOFDAY(tp)   gettimeofday((tp), NULL)
#define IPPROTO_IP   0
#define AF_UNIX   2
#define TCP_NODELAY   SO_NONBLOCK
#define SO_LINGER   -1
#define SO_ERROR   4
#define _PR_INTERRUPT_CHECK_INTERVAL_SECS   5
#define _MD_ERRNO()   (errno)
#define _MD_CLEANUP_BEFORE_EXIT   _MD_cleanup_before_exit
#define _MD_EXIT   _MD_exit
#define _MD_GET_ENV   getenv
#define _MD_PUT_ENV   putenv
#define _MD_EARLY_INIT   _MD_early_init
#define _MD_FINAL_INIT   _MD_final_init
#define _MD_INIT_CPUS   _MD_init_cpus
#define _MD_WAKEUP_CPUS   _MD_wakeup_cpus
#define _MD_START_INTERRUPTS   _MD_start_interrupts
#define _MD_STOP_INTERRUPTS   _MD_stop_interrupts
#define _MD_DISABLE_CLOCK_INTERRUPTS   _MD_disable_clock_interrupts
#define _MD_BLOCK_CLOCK_INTERRUPTS   _MD_block_clock_interrupts
#define _MD_UNBLOCK_CLOCK_INTERRUPTS   _MD_unblock_clock_interrupts
#define _MD_CLOCK_INTERRUPT   _MD_clock_interrupt
#define _MD_INIT_STACK   _MD_init_stack
#define _MD_CLEAR_STACK   _MD_clear_stack
#define _MD_CURRENT_CPU   _MD_current_cpu
#define _MD_SET_CURRENT_CPU   _MD_set_current_cpu
#define _MD_INIT_RUNNING_CPU   _MD_init_running_cpu
#define _MD_PAUSE_CPU   _MD_pause_cpu
#define _MD_CURRENT_THREAD()   PR_GetCurrentThread()
#define _MD_LAST_THREAD   _MD_last_thread
#define _MD_SET_CURRENT_THREAD   _MD_set_current_THREAD
#define _MD_SET_LAST_THREAD   _MD_set_last_thread
#define _MD_INIT_THREAD   _MD_init_thread
#define _MD_EXIT_THREAD   _MD_exit_thread
#define _MD_INIT_ATTACHED_THREAD   _MD_init_attached_thread
#define _MD_SUSPEND_THREAD   _MD_suspend_thread
#define _MD_RESUME_THREAD   _MD_resume_thread
#define _MD_SUSPEND_CPU   _MD_suspend_cpu
#define _MD_RESUME_CPU   _MD_resume_cpu
#define _MD_BEGIN_SUSPEND_ALL   _MD_begin_suspend_all
#define _MD_END_SUSPEND_ALL   _MD_end_suspend_all
#define _MD_BEGIN_RESUME_ALL   _MD_begin_resume_all
#define _MD_END_RESUME_ALL   _MD_end_resume_all
#define _MD_GET_SP   _MD_get_sp
#define _MD_CLEAN_THREAD   _MD_clean_thread
#define _MD_CREATE_PRIMORDIAL_USER_THREAD   _MD_create_primordial_user_thread
#define _MD_CREATE_USER_THREAD   _MD_create_user_thread
#define _MD_INIT_PRIMORDIAL_THREAD   _MD_init_primordial_thread
#define _MD_CREATE_THREAD   _MD_create_thread
#define _MD_YIELD   _MD_yield
#define _MD_SET_PRIORITY   _MD_set_priority
#define _MD_SUSPENDALL   _MD_suspendall
#define _MD_RESUMEALL   _MD_resumeall
#define _MD_SWITCH_CONTEXT   _MD_switch_context
#define _MD_RESTORE_CONTEXT   _MD_restore_context
#define _MD_WAIT   _MD_wait
#define _MD_WAKEUP_WAITER   _MD_wakeup_waiter
#define _MD_SETTHREADAFFINITYMASK   _MD_setthreadaffinitymask
#define _MD_GETTHREADAFFINITYMASK   _MD_getthreadaffinitymask
#define _MD_INIT_LOCKS   _MD_init_locks
#define _MD_NEW_LOCK   _MD_new_lock
#define _MD_FREE_LOCK   _MD_free_lock
#define _MD_LOCK   _MD_lock
#define _MD_TEST_AND_LOCK   _MD_test_and_lock
#define _MD_UNLOCK   _MD_unlock
#define _MD_IOQ_LOCK   _MD_ioq_lock
#define _MD_IOQ_UNLOCK   _MD_ioq_unlock
#define _MD_NEW_SEM   _MD_new_sem
#define _MD_DESTROY_SEM   _MD_destroy_sem
#define _MD_TIMED_WAIT_SEM   _MD_timed_wait_sem
#define _MD_WAIT_SEM   _MD_wait_sem
#define _MD_POST_SEM   _MD_post_sem
#define _MD_INIT_IO()
#define _MD_INIT_FILEDESC(fd)
#define _MD_OPEN_DIR   _MD_open_dir
#define _MD_READ_DIR   _MD_read_dir
#define _MD_CLOSE_DIR   _MD_close_dir
#define _MD_MAKE_NONBLOCK   _MD_make_nonblock
#define _MD_SET_FD_INHERITABLE   _MD_set_fd_inheritable
#define _MD_INIT_FD_INHERITABLE   _MD_init_fd_inheritable
#define _MD_QUERY_FD_INHERITABLE   _MD_query_fd_inheritable
#define _MD_OPEN   _MD_open
#define _MD_OPEN_FILE   _MD_open
#define _MD_CLOSE_FILE   _MD_close_file
#define _MD_READ   _MD_read
#define _MD_WRITE   _MD_write
#define _MD_WRITEV   _MD_writev
#define _MD_LSEEK   _MD_lseek
#define _MD_LSEEK64   _MD_lseek64
#define _MD_FSYNC   _MD_fsync
#define _MD_DELETE   _MD_delete
#define _MD_GETFILEINFO   _MD_getfileinfo
#define _MD_GETFILEINFO64   _MD_getfileinfo64
#define _MD_GETOPENFILEINFO   _MD_getopenfileinfo
#define _MD_GETOPENFILEINFO64   _MD_getopenfileinfo64
#define _MD_RENAME   _MD_rename
#define _MD_ACCESS   _MD_access
#define _MD_STAT   stat
#define _MD_MKDIR   _MD_mkdir
#define _MD_MAKE_DIR   _MD_mkdir
#define _MD_RMDIR   _MD_rmdir
#define _MD_PR_POLL   _MD_pr_poll
#define _MD_CLOSE_SOCKET   _MD_close_socket
#define _MD_CONNECT   _MD_connect
#define _MD_ACCEPT   _MD_accept
#define _MD_BIND   _MD_bind
#define _MD_LISTEN   _MD_listen
#define _MD_SHUTDOWN   _MD_shutdown
#define _MD_RECV   _MD_recv
#define _MD_SEND   _MD_send
#define _MD_ACCEPT_READ   _MD_accept_read
#define _MD_GETSOCKNAME   _MD_getsockname
#define _MD_GETPEERNAME   _MD_getpeername
#define _MD_GETSOCKOPT   _MD_getsockopt
#define _MD_SETSOCKOPT   _MD_setsockopt
#define _MD_RECVFROM   _MD_recvfrom
#define _MD_SENDTO   _MD_sendto
#define _MD_SOCKETPAIR   _MD_socketpair
#define _MD_SOCKET   _MD_socket
#define _MD_SOCKETAVAILABLE   _MD_socketavailable
#define _MD_PIPEAVAILABLE   _MD_socketavailable
#define _MD_GET_SOCKET_ERROR()   (errno)
#define _MD_GETHOSTNAME   _MD_gethostname
#define _MD_SELECT   select
#define _MD_CREATE_PROCESS   _MD_create_process
#define _MD_DETACH_PROCESS   _MD_detach_process
#define _MD_WAIT_PROCESS   _MD_wait_process
#define _MD_KILL_PROCESS   _MD_kill_process
#define _MD_INIT_SEGS   _MD_init_segs
#define _MD_ALLOC_SEGMENT   _MD_alloc_segment
#define _MD_FREE_SEGMENT   _MD_free_segment
#define _MD_CREATE_FILE_MAP   _MD_create_file_map
#define _MD_GET_MEM_MAP_ALIGNMENT   _MD_get_mem_map_alignment
#define _MD_MEM_MAP   _MD_mem_map
#define _MD_MEM_UNMAP   _MD_mem_unmap
#define _MD_CLOSE_FILE_MAP   _MD_close_file_map
#define _MD_NOW   _MD_now
#define _MD_INTERVAL_INIT   _MD_interval_init
#define _MD_GET_INTERVAL   _MD_get_interval
#define _MD_INTERVAL_PER_SEC   _MD_interval_per_sec
#define _MD_LOCKFILE   _MD_lockfile
#define _MD_TLOCKFILE   _MD_tlockfile
#define _MD_UNLOCKFILE   _MD_unlockfile

Functions

struct protoentgetprotobyname (const char *name)
struct protoentgetprotobynumber (int number)
 NSPR_API (void) _MD_cleanup_before_exit(void)
 Prototypes for machine dependent function implementations.
 NSPR_API (char *) _MD_get_env(const char *name)
 NSPR_API (PRIntn) _MD_put_env(const char *name)
 NSPR_API (PRInt32) _MD_pause_cpu(PRIntervalTime timeout)
 NSPR_API (PRThread *) _MD_get_attached_thread(void)
 NSPR_API (PRStatus) _MD_init_thread(PRThread *thread)
 NSPR_API (void *) _MD_get_sp(PRThread *thread)
 NSPR_API (PRInt64) _MD_lseek64(PRFileDesc *fd
 NSPR_API (PRProcess *) _MD_create_process(const char *path
 NSPR_API (PRIntervalTime) _MD_get_interval(void)

Variables

void(* start )(void *)
void(*) void arg )
void(*) PRThreadPriorit priority )
void(*) PRThreadPriority
PRThreadScop 
scope )
void(*) PRThreadPriority
PRThreadScope PRThreadStat 
state )
void(*) PRThreadPriority
PRThreadScope PRThreadState
PRUint3 
stackSize )
PRThreadPriority newPri
char * top
char void(*) PRBool status )
PRIntervalTime timeout
PRUint32 mask
PRUintn value
const char * name
PRIntn flags
PRBool imported
PRIntn osflags
PRIntn PRIntn mode
voidbuf
void PRInt32 amount
const PRIOVeciov
const PRIOVec PRInt32 iov_size
PRInt32 offset
PRInt32 int whence
PRFileInfoinfo
const char * to
PRIntn how
PRIntn npds
const PRNetAddraddr
const PRNetAddr PRUint32 addrlen
PRIntn backlog
PRInt32newSock
PRInt32 PRNetAddr ** raddr
PRInt32 level
PRInt32 PRInt32 optname
PRInt32 PRInt32 char * optval
PRInt32 PRInt32 char PRInt32optlen
int type
int int PRInt32osfd
PRUint32 namelen
char *constargv
char *const char *constenvp
char *const char *const const
PRProcessAttr
attr
PRInt32exitCode
PRUint32 size
PRUint32 voidvaddr
PRInt64 PRUint32 len

Class Documentation

struct _MDThreadStack

Definition at line 165 of file _aix.h.

Class Members
PRIntn cxByteCount
PRUint32 magic
PRInt8 notused
char * stackTop
struct _MDLock

Definition at line 169 of file _aix.h.

Class Members
usptr_t * arena
int32 benaphoreCount
ulock_t lock
PRUint32 magic
PRUint32 mutex
CRITICAL_SECTION mutex
HMTX mutex
PRInt8 notused
sem_id semaphoreID
struct _MDCVar

Definition at line 177 of file _aix.h.

Collaboration diagram for _MDCVar:
Class Members
int16 count
PRUint32 magic
ulock_t mdcvar_lock
PRInt8 notused
PRIntn nwait
sem_id sem1
sem_id sem2
PRUint32 unused
struct PRThread * waitHead
struct PRThread * waitTail
struct _MDSemaphore

Definition at line 173 of file _aix.h.

Class Members
PRInt8 notused
HEV sem
HANDLE sem
usema_t * sem
sem_id sid
PRInt32 unused
struct _MDCPU

Definition at line 221 of file _aix.h.

Collaboration diagram for _MDCPU:
Class Members
PRInt16 fd_exception_cnt
fd_set fd_exception_set
PRInt16 fd_read_cnt
fd_set fd_read_set
PRInt16 fd_write_cnt
fd_set fd_write_set
PRInt32 id
PRCList ioQ
PRInt32 ioq_max_osfd
PRUint32 ioq_timeout
AbsoluteTime lastThreadSwitch
AbsoluteTime lastWakeUpProcess
PRInt32 suspending_id
PRBool trackScheduling
int unused
int8 unused
struct _MDProcess

Definition at line 141 of file _beos.h.

Class Members
HANDLE handle
DWORD id
PRInt8 notused
pid_t pid
PID pid
struct _MDSegment

Definition at line 181 of file _aix.h.

Class Members
PRUint32 magic
PRInt8 notused
struct _MDFileDesc

Definition at line 158 of file _beos.h.

Collaboration diagram for _MDFileDesc:
Class Members
PRBool accepted_socket
int connectReturnError
int connectReturnValue
PRBool connectValueValid
OTReason disconnectError
PRBool doListen
PRPackedBool exceptReady
PRBool io_model_committed
_MDSocketCallerInfo misc
PRLock * miscLock
PRPackedBool orderlyDisconnect
int osfd
PRInt32 osfd
PRNetAddr peer_addr
_MDSocketCallerInfo read
PRPackedBool readReady
PRInt32 sock_state
PRBool sync_file_io
_MDSocketCallerInfo write
PRPackedBool writeReady
struct _MDDir

Definition at line 170 of file _beos.h.

Collaboration diagram for _MDDir:
Class Members
char * currentEntryName
DIR * d
WIN32_FIND_DATA d_entry
union _MDDir d_entry
HANDLE d_hdl
HDIR d_hdl
struct dirent * dir
PRBool firstEntry
long ioDirID
short ioFDirIndex
short ioVRefNum
PRUint32 magic
struct _MDFileMap

Definition at line 183 of file _beos.h.

Class Members
DWORD dwAccess
PRIntn flags
HANDLE hFileMap
PRBool isAnonFM
PRIntn prot
PRInt8 unused
struct protoent

Definition at line 203 of file _beos.h.

Collaboration diagram for protoent:
Class Members
char ** p_aliases
char * p_name
int p_proto

Define Documentation

Definition at line 353 of file _beos.h.

Definition at line 359 of file _beos.h.

Definition at line 342 of file _beos.h.

Definition at line 393 of file _beos.h.

Definition at line 86 of file _beos.h.

Definition at line 87 of file _beos.h.

Definition at line 85 of file _beos.h.

Definition at line 88 of file _beos.h.

#define _MD_BEGIN_RESUME_ALL   _MD_begin_resume_all

Definition at line 268 of file _beos.h.

#define _MD_BEGIN_SUSPEND_ALL   _MD_begin_suspend_all

Definition at line 266 of file _beos.h.

Definition at line 354 of file _beos.h.

#define _MD_BLOCK_CLOCK_INTERRUPTS   _MD_block_clock_interrupts

Definition at line 239 of file _beos.h.

#define _MD_CLEAN_THREAD   _MD_clean_thread

Definition at line 273 of file _beos.h.

Definition at line 223 of file _beos.h.

#define _MD_CLEAR_STACK   _MD_clear_stack

Definition at line 243 of file _beos.h.

#define _MD_CLOCK_INTERRUPT   _MD_clock_interrupt

Definition at line 241 of file _beos.h.

Definition at line 322 of file _beos.h.

Definition at line 329 of file _beos.h.

#define _MD_CLOSE_FILE_MAP   _MD_close_file_map

Definition at line 402 of file _beos.h.

Definition at line 351 of file _beos.h.

Definition at line 352 of file _beos.h.

#define _MD_CREATE_FILE_MAP   _MD_create_file_map

Definition at line 398 of file _beos.h.

#define _MD_CREATE_PRIMORDIAL_USER_THREAD   _MD_create_primordial_user_thread

Definition at line 274 of file _beos.h.

Definition at line 378 of file _beos.h.

#define _MD_CREATE_THREAD   _MD_create_thread

Definition at line 277 of file _beos.h.

#define _MD_CREATE_USER_THREAD   _MD_create_user_thread

Definition at line 275 of file _beos.h.

#define _MD_CURRENT_CPU   _MD_current_cpu

Definition at line 246 of file _beos.h.

Definition at line 253 of file _beos.h.

Definition at line 72 of file _beos.h.

Definition at line 336 of file _beos.h.

#define _MD_DESTROY_SEM   _MD_destroy_sem

Definition at line 304 of file _beos.h.

Definition at line 379 of file _beos.h.

#define _MD_DISABLE_CLOCK_INTERRUPTS   _MD_disable_clock_interrupts

Definition at line 238 of file _beos.h.

Definition at line 229 of file _beos.h.

#define _MD_END_RESUME_ALL   _MD_end_resume_all

Definition at line 269 of file _beos.h.

#define _MD_END_SUSPEND_ALL   _MD_end_suspend_all

Definition at line 267 of file _beos.h.

#define _MD_ERRNO ( )    (errno)

Definition at line 221 of file _beos.h.

Definition at line 224 of file _beos.h.

#define _MD_EXIT_THREAD   _MD_exit_thread

Definition at line 259 of file _beos.h.

Definition at line 230 of file _beos.h.

#define _MD_FREE_LOCK   _MD_free_lock

Definition at line 297 of file _beos.h.

Definition at line 394 of file _beos.h.

Definition at line 335 of file _beos.h.

Definition at line 226 of file _beos.h.

Definition at line 408 of file _beos.h.

#define _MD_GET_MEM_MAP_ALIGNMENT   _MD_get_mem_map_alignment

Definition at line 399 of file _beos.h.

Definition at line 371 of file _beos.h.

#define _MD_GET_SP   _MD_get_sp

Definition at line 271 of file _beos.h.

Definition at line 337 of file _beos.h.

Definition at line 338 of file _beos.h.

Definition at line 372 of file _beos.h.

Definition at line 339 of file _beos.h.

Definition at line 340 of file _beos.h.

Definition at line 361 of file _beos.h.

Definition at line 360 of file _beos.h.

Definition at line 362 of file _beos.h.

#define _MD_GETTHREADAFFINITYMASK   _MD_getthreadaffinitymask

Definition at line 291 of file _beos.h.

Definition at line 84 of file _beos.h.

#define _MD_INIT_ATTACHED_THREAD   _MD_init_attached_thread

Definition at line 260 of file _beos.h.

#define _MD_INIT_CPUS   _MD_init_cpus

Definition at line 234 of file _beos.h.

Definition at line 325 of file _beos.h.

Definition at line 318 of file _beos.h.

Definition at line 317 of file _beos.h.

#define _MD_INIT_LOCKS   _MD_init_locks

Definition at line 295 of file _beos.h.

#define _MD_INIT_PRIMORDIAL_THREAD   _MD_init_primordial_thread

Definition at line 276 of file _beos.h.

#define _MD_INIT_RUNNING_CPU   _MD_init_running_cpu

Definition at line 248 of file _beos.h.

Definition at line 392 of file _beos.h.

#define _MD_INIT_STACK   _MD_init_stack

Definition at line 242 of file _beos.h.

#define _MD_INIT_THREAD   _MD_init_thread

Definition at line 258 of file _beos.h.

Definition at line 407 of file _beos.h.

Definition at line 409 of file _beos.h.

#define _MD_IOQ_LOCK   _MD_ioq_lock

Definition at line 301 of file _beos.h.

#define _MD_IOQ_UNLOCK   _MD_ioq_unlock

Definition at line 302 of file _beos.h.

Definition at line 381 of file _beos.h.

#define _MD_LAST_THREAD   _MD_last_thread

Definition at line 255 of file _beos.h.

Definition at line 355 of file _beos.h.

#define _MD_LOCK   _MD_lock

Definition at line 298 of file _beos.h.

Definition at line 413 of file _beos.h.

Definition at line 333 of file _beos.h.

Definition at line 334 of file _beos.h.

Definition at line 345 of file _beos.h.

Definition at line 323 of file _beos.h.

#define _MD_MEM_MAP   _MD_mem_map

Definition at line 400 of file _beos.h.

#define _MD_MEM_UNMAP   _MD_mem_unmap

Definition at line 401 of file _beos.h.

Definition at line 344 of file _beos.h.

#define _MD_MMAP_FLAGS   MAP_PRIVATE

Definition at line 73 of file _beos.h.

#define _MD_NEW_LOCK   _MD_new_lock

Definition at line 296 of file _beos.h.

#define _MD_NEW_SEM   _MD_new_sem

Definition at line 303 of file _beos.h.

Definition at line 406 of file _beos.h.

Definition at line 327 of file _beos.h.

Definition at line 320 of file _beos.h.

Definition at line 328 of file _beos.h.

#define _MD_PAUSE_CPU   _MD_pause_cpu

Definition at line 249 of file _beos.h.

Definition at line 369 of file _beos.h.

#define _MD_POST_SEM   _MD_post_sem

Definition at line 307 of file _beos.h.

Definition at line 347 of file _beos.h.

Definition at line 227 of file _beos.h.

Definition at line 326 of file _beos.h.

Definition at line 330 of file _beos.h.

Definition at line 321 of file _beos.h.

Definition at line 357 of file _beos.h.

Definition at line 364 of file _beos.h.

Definition at line 341 of file _beos.h.

#define _MD_RESTORE_CONTEXT   _MD_restore_context

Definition at line 285 of file _beos.h.

#define _MD_RESUME_CPU   _MD_resume_cpu

Definition at line 265 of file _beos.h.

Definition at line 263 of file _beos.h.

#define _MD_RESUMEALL   _MD_resumeall

Definition at line 282 of file _beos.h.

Definition at line 346 of file _beos.h.

Definition at line 374 of file _beos.h.

Definition at line 358 of file _beos.h.

Definition at line 365 of file _beos.h.

#define _MD_SET_CURRENT_CPU   _MD_set_current_cpu

Definition at line 247 of file _beos.h.

#define _MD_SET_CURRENT_THREAD   _MD_set_current_THREAD

Definition at line 256 of file _beos.h.

Definition at line 324 of file _beos.h.

#define _MD_SET_LAST_THREAD   _MD_set_last_thread

Definition at line 257 of file _beos.h.

#define _MD_SET_PRIORITY   _MD_set_priority

Definition at line 279 of file _beos.h.

Definition at line 363 of file _beos.h.

#define _MD_SETTHREADAFFINITYMASK   _MD_setthreadaffinitymask

Definition at line 290 of file _beos.h.

Definition at line 356 of file _beos.h.

Definition at line 367 of file _beos.h.

Definition at line 368 of file _beos.h.

Definition at line 366 of file _beos.h.

#define _MD_START_INTERRUPTS   _MD_start_interrupts

Definition at line 236 of file _beos.h.

Definition at line 343 of file _beos.h.

#define _MD_STOP_INTERRUPTS   _MD_stop_interrupts

Definition at line 237 of file _beos.h.

#define _MD_SUSPEND_CPU   _MD_suspend_cpu

Definition at line 264 of file _beos.h.

Definition at line 262 of file _beos.h.

#define _MD_SUSPENDALL   _MD_suspendall

Definition at line 281 of file _beos.h.

#define _MD_SWITCH_CONTEXT   _MD_switch_context

Definition at line 284 of file _beos.h.

#define _MD_TEST_AND_LOCK   _MD_test_and_lock

Definition at line 299 of file _beos.h.

#define _MD_TIMED_WAIT_SEM   _MD_timed_wait_sem

Definition at line 305 of file _beos.h.

Definition at line 414 of file _beos.h.

#define _MD_UNBLOCK_CLOCK_INTERRUPTS   _MD_unblock_clock_interrupts

Definition at line 240 of file _beos.h.

#define _MD_UNLOCK   _MD_unlock

Definition at line 300 of file _beos.h.

Definition at line 415 of file _beos.h.

Definition at line 287 of file _beos.h.

Definition at line 380 of file _beos.h.

#define _MD_WAIT_SEM   _MD_wait_sem

Definition at line 306 of file _beos.h.

#define _MD_WAKEUP_CPUS   _MD_wakeup_cpus

Definition at line 235 of file _beos.h.

#define _MD_WAKEUP_WAITER   _MD_wakeup_waiter

Definition at line 288 of file _beos.h.

Definition at line 331 of file _beos.h.

Definition at line 332 of file _beos.h.

#define _MD_YIELD   _MD_yield

Definition at line 278 of file _beos.h.

Definition at line 92 of file _beos.h.

Definition at line 97 of file _beos.h.

Definition at line 96 of file _beos.h.

Definition at line 91 of file _beos.h.

Definition at line 83 of file _beos.h.

Definition at line 98 of file _beos.h.

Definition at line 94 of file _beos.h.

Definition at line 199 of file _beos.h.

Definition at line 93 of file _beos.h.

Definition at line 77 of file _beos.h.

#define _PR_PEEK_BUFFER_MAX   (16 * 1024)

Definition at line 95 of file _beos.h.

Definition at line 66 of file _beos.h.

#define _PR_SI_SYSNAME   "BEOS"

Definition at line 62 of file _beos.h.

#define _PR_STACK_VMBASE   0x50000000

Definition at line 71 of file _beos.h.

#define _PR_VMBASE   0x30000000

Definition at line 70 of file _beos.h.

#define AF_UNIX   2

Definition at line 193 of file _beos.h.

Definition at line 154 of file _beos.h.

Definition at line 155 of file _beos.h.

#define GETTIMEOFDAY (   tp)    gettimeofday((tp), NULL)

Definition at line 179 of file _beos.h.

Definition at line 90 of file _beos.h.

Definition at line 76 of file _beos.h.

#define IPPROTO_IP   0

Definition at line 192 of file _beos.h.

Definition at line 174 of file _beos.h.

Definition at line 175 of file _beos.h.

#define PR_DLL_SUFFIX   ".so"

Definition at line 68 of file _beos.h.

#define PR_LINKER_ARCH   "beos"

Definition at line 61 of file _beos.h.

Definition at line 176 of file _beos.h.

Definition at line 177 of file _beos.h.

#define SO_ERROR   4

Definition at line 196 of file _beos.h.

#define SO_LINGER   -1

Definition at line 195 of file _beos.h.

#define TCP_NODELAY   SO_NONBLOCK

Definition at line 194 of file _beos.h.


Function Documentation

struct protoent* getprotobyname ( const char *  name) [read]

Definition at line 46 of file btmisc.c.

{
    return 0;
}
struct protoent* getprotobynumber ( int  number) [read]

Definition at line 51 of file btmisc.c.

{
    return 0;
}
NSPR_API ( void  )

Prototypes for machine dependent function implementations.

(Too bad NSPR's MD system blows so much that we have to reiterate every stinking thing we implement here in our MD header file.)

NSPR_API ( char *  ) const
NSPR_API ( PRIntn  ) const
NSPR_API ( PRThread )
NSPR_API ( void )
NSPR_API ( PRProcess ) const

Variable Documentation

Definition at line 548 of file _beos.h.

Definition at line 548 of file _beos.h.

Definition at line 528 of file _beos.h.

void(*) void arg)

Definition at line 477 of file _beos.h.

char* const* argv

Definition at line 574 of file _beos.h.

Definition at line 574 of file _beos.h.

PRIntn backlog

Definition at line 551 of file _beos.h.

Definition at line 528 of file _beos.h.

char *const char *const * envp

Definition at line 574 of file _beos.h.

Definition at line 576 of file _beos.h.

Definition at line 521 of file _beos.h.

Definition at line 540 of file _beos.h.

Definition at line 524 of file _beos.h.

Definition at line 535 of file _beos.h.

Definition at line 530 of file _beos.h.

Definition at line 530 of file _beos.h.

Definition at line 596 of file _beos.h.

Definition at line 561 of file _beos.h.

Definition at line 493 of file _beos.h.

PRIntn mode

Definition at line 526 of file _beos.h.

const char* name

Definition at line 520 of file _beos.h.

Definition at line 570 of file _beos.h.

Definition at line 481 of file _beos.h.

Definition at line 555 of file _beos.h.

PRIntn npds

Definition at line 544 of file _beos.h.

Definition at line 531 of file _beos.h.

Definition at line 561 of file _beos.h.

Definition at line 561 of file _beos.h.

Definition at line 561 of file _beos.h.

Definition at line 565 of file _beos.h.

PRIntn osflags

Definition at line 526 of file _beos.h.

Definition at line 479 of file _beos.h.

Definition at line 555 of file _beos.h.

void(*) PRThreadPriority PRThreadScop scope)

Definition at line 479 of file _beos.h.

Definition at line 589 of file _beos.h.

Definition at line 479 of file _beos.h.

char void(* start)(void)

Definition at line 477 of file _beos.h.

Definition at line 479 of file _beos.h.

char void(*) PRBool status)

Definition at line 486 of file _beos.h.

Definition at line 490 of file _beos.h.

const char* to

Definition at line 539 of file _beos.h.

char* top

Definition at line 486 of file _beos.h.

Definition at line 565 of file _beos.h.

Definition at line 589 of file _beos.h.

PRUintn value

Definition at line 506 of file _beos.h.

Definition at line 531 of file _beos.h.