Changeset 101843 in vbox for trunk/src/libs/xpcom18a4/nsprpub/pr/include/private
- Timestamp:
- Nov 5, 2023 7:13:11 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 159939
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h
r101841 r101843 702 702 #define _PR_MD_CLOSE_FILE_MAP _MD_CLOSE_FILE_MAP 703 703 704 /* Named Shared Memory */705 706 /*707 ** Declare PRSharedMemory.708 */709 struct PRSharedMemory710 {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 #else722 PRUint32 nothing; /* placeholder, nothing behind here */723 #endif724 PRUint32 ident; /* guard word at end of struct */725 #define _PR_SHM_IDENT 0xdeadbad726 };727 728 extern PRSharedMemory * _MD_OpenSharedMemory(729 const char *name,730 PRSize size,731 PRIntn flags,732 PRIntn mode733 );734 #define _PR_MD_OPEN_SHARED_MEMORY _MD_OpenSharedMemory735 736 extern void * _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags );737 #define _PR_MD_ATTACH_SHARED_MEMORY _MD_AttachSharedMemory738 739 extern PRStatus _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr );740 #define _PR_MD_DETACH_SHARED_MEMORY _MD_DetachSharedMemory741 742 extern PRStatus _MD_CloseSharedMemory( PRSharedMemory *shm );743 #define _PR_MD_CLOSE_SHARED_MEMORY _MD_CloseSharedMemory744 745 extern PRStatus _MD_DeleteSharedMemory( const char *name );746 #define _PR_MD_DELETE_SHARED_MEMORY _MD_DeleteSharedMemory747 748 749 704 750 705 /* Interprocess communications (IPC) */
Note:
See TracChangeset
for help on using the changeset viewer.