VirtualBox

Ignore:
Timestamp:
Nov 6, 2023 2:08:07 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159966
Message:

libs/xpcom: Remove unused code from nsprpub, bugref:10545

Location:
trunk/src/libs/xpcom18a4/nsprpub/pr/include/private
Files:
2 edited

Legend:

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

    r101869 r101870  
    159159NSPR_API(PRFileDesc*)   PR_Socket(PRInt32 domain, PRInt32 type, PRInt32 proto);
    160160
    161 /* FUNCTION: PR_LockFile
    162 ** DESCRIPTION:
    163 **    Lock a file for exclusive access.
    164 ** RETURNS:
    165 **    PR_SUCCESS when the lock is held
    166 **    PR_FAILURE otherwise
    167 */
    168 NSPR_API(PRStatus) PR_LockFile(PRFileDesc *fd);
    169 
    170 /* FUNCTION: PR_TLockFile
    171 ** DESCRIPTION:
    172 **    Test and Lock a file for exclusive access.  Do not block if the
    173 **    file cannot be locked immediately.
    174 ** RETURNS:
    175 **    PR_SUCCESS when the lock is held
    176 **    PR_FAILURE otherwise
    177 */
    178 NSPR_API(PRStatus) PR_TLockFile(PRFileDesc *fd);
    179 
    180 /* FUNCTION: PR_UnlockFile
    181 ** DESCRIPTION:
    182 **    Unlock a file which has been previously locked successfully by this
    183 **    process.
    184 ** RETURNS:
    185 **    PR_SUCCESS when the lock is released
    186 **    PR_FAILURE otherwise
    187 */
    188 NSPR_API(PRStatus) PR_UnlockFile(PRFileDesc *fd);
    189 
    190161/*
    191162** Emulate acceptread by accept and recv.
     
    194165    PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout);
    195166
    196 /*
    197 ** Emulate sendfile by reading from the file and writing to the socket.
    198 ** The file is memory-mapped if memory-mapped files are supported.
    199 */
    200 NSPR_API(PRInt32) PR_EmulateSendFile(
    201     PRFileDesc *networkSocket, PRSendFileData *sendData,
    202     PRTransmitFileFlags flags, PRIntervalTime timeout);
    203 
    204167PR_END_EXTERN_C
    205168
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h

    r101869 r101870  
    5555
    5656#include "md/prosdep.h"
    57 #include "obsolete/probslet.h"
    5857
    5958#ifdef _PR_HAVE_POSIX_SEMAPHORES
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