Back to index

lightning-sunbird  0.9+nobinonly
Defines | Enumerations | Functions | Variables
prsystem.h File Reference
#include "prtypes.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SYS_INFO_BUFFER_LENGTH   256

Enumerations

enum  PRSysInfo {
  PR_SI_HOSTNAME, PR_SI_SYSNAME, PR_SI_RELEASE, PR_SI_ARCHITECTURE,
  PR_SI_HOSTNAME_UNTRUNCATED
}

Functions

PR_BEGIN_EXTERN_C NSPR_API (char) PR_GetDirectorySeparator(void)
 NSPR_API (PRStatus) PR_GetSystemInfo(PRSysInfo cmd
 NSPR_API (PRInt32) PR_GetPageSize(void)
 NSPR_API (PRUint64) PR_GetPhysicalMemorySize(void)

Variables

char * buf
char PRUint32 buflen

Define Documentation

Definition at line 92 of file prsystem.h.


Enumeration Type Documentation

enum PRSysInfo
Enumerator:
PR_SI_HOSTNAME 
PR_SI_SYSNAME 
PR_SI_RELEASE 
PR_SI_ARCHITECTURE 
PR_SI_HOSTNAME_UNTRUNCATED 

Definition at line 72 of file prsystem.h.

             {
    PR_SI_HOSTNAME,  /* the hostname with the domain name (if any)
                      * removed */
    PR_SI_SYSNAME,
    PR_SI_RELEASE,
    PR_SI_ARCHITECTURE,
    PR_SI_HOSTNAME_UNTRUNCATED  /* the hostname exactly as configured
                                 * on the system */
} PRSysInfo;

Function Documentation


Variable Documentation

char* buf

Definition at line 94 of file prsystem.h.

Definition at line 94 of file prsystem.h.