Changeset 101870 in vbox for trunk/src/libs/xpcom18a4/nsprpub/pr/include/private
- Timestamp:
- Nov 6, 2023 2:08:07 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 159966
- 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 159 159 NSPR_API(PRFileDesc*) PR_Socket(PRInt32 domain, PRInt32 type, PRInt32 proto); 160 160 161 /* FUNCTION: PR_LockFile162 ** DESCRIPTION:163 ** Lock a file for exclusive access.164 ** RETURNS:165 ** PR_SUCCESS when the lock is held166 ** PR_FAILURE otherwise167 */168 NSPR_API(PRStatus) PR_LockFile(PRFileDesc *fd);169 170 /* FUNCTION: PR_TLockFile171 ** DESCRIPTION:172 ** Test and Lock a file for exclusive access. Do not block if the173 ** file cannot be locked immediately.174 ** RETURNS:175 ** PR_SUCCESS when the lock is held176 ** PR_FAILURE otherwise177 */178 NSPR_API(PRStatus) PR_TLockFile(PRFileDesc *fd);179 180 /* FUNCTION: PR_UnlockFile181 ** DESCRIPTION:182 ** Unlock a file which has been previously locked successfully by this183 ** process.184 ** RETURNS:185 ** PR_SUCCESS when the lock is released186 ** PR_FAILURE otherwise187 */188 NSPR_API(PRStatus) PR_UnlockFile(PRFileDesc *fd);189 190 161 /* 191 162 ** Emulate acceptread by accept and recv. … … 194 165 PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout); 195 166 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 204 167 PR_END_EXTERN_C 205 168 -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h
r101869 r101870 55 55 56 56 #include "md/prosdep.h" 57 #include "obsolete/probslet.h"58 57 59 58 #ifdef _PR_HAVE_POSIX_SEMAPHORES
Note:
See TracChangeset
for help on using the changeset viewer.