Back to index

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

Go to the source code of this file.

Defines

#define PR_FILEMAP_STRING_BUFSIZE   128

Functions

PR_BEGIN_EXTERN_C PR_OpenAnonFileMap (const char *dirName, PRSize size, PRFileMapProtect prot)
 PR_ProcessAttrSetInheritableFileMap (PRProcessAttr *attr, PRFileMap *fm, const char *shmname)
 PR_GetInheritedFileMap (const char *shmname)
 PR_ExportFileMapAsString (PRFileMap *fm, PRSize bufsize, char *buf)
 PR_ImportFileMapFromString (const char *fmstring)

Define Documentation

Definition at line 249 of file prshma.h.


Function Documentation

PR_ExportFileMapAsString ( PRFileMap fm,
PRSize  bufsize,
char *  buf 
)

Definition at line 121 of file prshma.c.

{
    return( _PR_MD_EXPORT_FILE_MAP_AS_STRING( fm, bufSize, buf ));
} /* end PR_ExportFileMapAsString() */

Here is the call graph for this function:

Here is the caller graph for this function:

PR_GetInheritedFileMap ( const char *  shmname)

Definition at line 107 of file prshma.c.

{
    PRFileMap   *fm = NULL;
    PR_SetError( PR_NOT_IMPLEMENTED_ERROR, 0 );
    return( fm );
} /* end PR_GetInhteritedFileMap() */
PR_ImportFileMapFromString ( const char *  fmstring)

Definition at line 136 of file prshma.c.

{
    return( _PR_MD_IMPORT_FILE_MAP_FROM_STRING(fmstring));
} /* end PR_ImportFileMapFromString() */

Here is the call graph for this function:

Here is the caller graph for this function:

PR_BEGIN_EXTERN_C PR_OpenAnonFileMap ( const char *  dirName,
PRSize  size,
PRFileMapProtect  prot 
)

Definition at line 75 of file prshma.c.

{
    return(_PR_MD_OPEN_ANON_FILE_MAP( dirName, size, prot ));
} /* end PR_OpenAnonFileMap() */

Here is the call graph for this function:

Here is the caller graph for this function:

PR_ProcessAttrSetInheritableFileMap ( PRProcessAttr attr,
PRFileMap fm,
const char *  shmname 
)

Definition at line 91 of file prshma.c.

{
    PR_SetError( PR_NOT_IMPLEMENTED_ERROR, 0 );
    return( PR_FAILURE);
} /* end PR_ProcessAttrSetInheritableFileMap() */