VirtualBox

Ignore:
Timestamp:
Nov 5, 2023 7:13:11 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159939
Message:

libs/xpcom: Remove unused prshm.{c,h} and uxshm.c files and associated code, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h

    r101841 r101843  
    702702#define _PR_MD_CLOSE_FILE_MAP _MD_CLOSE_FILE_MAP
    703703
    704 /* Named Shared Memory */
    705 
    706 /*
    707 ** Declare PRSharedMemory.
    708 */
    709 struct PRSharedMemory
    710 {
    711     char        *ipcname; /* after conversion to native */
    712     PRSize      size;  /* from open */
    713     PRIntn      mode;  /* from open */
    714     PRIntn      flags; /* from open */
    715 #if defined(PR_HAVE_POSIX_NAMED_SHARED_MEMORY)
    716     int         id;
    717 #elif defined(PR_HAVE_SYSV_NAMED_SHARED_MEMORY)
    718     int         id;
    719 #elif defined(PR_HAVE_WIN32_NAMED_SHARED_MEMORY)
    720     HANDLE      handle;
    721 #else
    722     PRUint32    nothing; /* placeholder, nothing behind here */
    723 #endif
    724     PRUint32    ident; /* guard word at end of struct */
    725 #define _PR_SHM_IDENT 0xdeadbad
    726 };
    727 
    728 extern PRSharedMemory * _MD_OpenSharedMemory(
    729     const char *name,
    730     PRSize      size,
    731     PRIntn      flags,
    732     PRIntn      mode
    733 );
    734 #define _PR_MD_OPEN_SHARED_MEMORY _MD_OpenSharedMemory
    735 
    736 extern void * _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags );
    737 #define _PR_MD_ATTACH_SHARED_MEMORY _MD_AttachSharedMemory
    738 
    739 extern PRStatus _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr );
    740 #define _PR_MD_DETACH_SHARED_MEMORY _MD_DetachSharedMemory
    741 
    742 extern PRStatus _MD_CloseSharedMemory( PRSharedMemory *shm );
    743 #define _PR_MD_CLOSE_SHARED_MEMORY _MD_CloseSharedMemory
    744 
    745 extern PRStatus _MD_DeleteSharedMemory( const char *name );
    746 #define _PR_MD_DELETE_SHARED_MEMORY  _MD_DeleteSharedMemory
    747 
    748 
    749704
    750705/* Interprocess communications (IPC) */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette