[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2374: second round of nspr additions (bug 2902)

Mats Wichmann mats at linuxfoundation.org
Thu Aug 8 15:05:10 UTC 2013


------------------------------------------------------------
revno: 2374
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Thu 2013-08-08 09:05:10 -0600
message:
  second round of nspr additions (bug 2902)
modified:
  ts/devchk/nspr4_prerror_h.c
  ts/devchk/nspr4_prinit_h.c
  ts/devchk/nspr4_prinrval_h.c
  ts/devchk/nspr4_prio_h.c
  ts/devchk/nspr4_prnetdb_h.c
  ts/devchk/nspr4_prtime_h.c
-------------- next part --------------
=== modified file 'ts/devchk/nspr4_prerror_h.c'
--- a/ts/devchk/nspr4_prerror_h.c	2012-10-01 13:17:07 +0000
+++ b/ts/devchk/nspr4_prerror_h.c	2013-08-08 15:05:10 +0000
@@ -42,10 +42,18 @@
 CheckTypeSize(PRErrorCode,0, 34694, 1, 4.0, NULL, 32528, NULL)
 #endif
 
+extern PRInt32 PR_GetOSError_db(void);
+CheckInterfacedef(PR_GetOSError,PR_GetOSError_db);
 extern PRErrorCode PR_GetError_db(void);
 CheckInterfacedef(PR_GetError,PR_GetError_db);
 extern void PR_SetError_db(PRErrorCode, PRInt32);
 CheckInterfacedef(PR_SetError,PR_SetError_db);
+extern void PR_SetErrorText_db(PRIntn, const char *);
+CheckInterfacedef(PR_SetErrorText,PR_SetErrorText_db);
+extern PRInt32 PR_GetErrorTextLength_db(void);
+CheckInterfacedef(PR_GetErrorTextLength,PR_GetErrorTextLength_db);
+extern PRInt32 PR_GetErrorText_db(char *);
+CheckInterfacedef(PR_GetErrorText,PR_GetErrorText_db);
 #ifdef TET_TEST
 if (pcnt == cnt )
 	tet_result(TET_PASS);

=== modified file 'ts/devchk/nspr4_prinit_h.c'
--- a/ts/devchk/nspr4_prinit_h.c	2012-10-01 13:17:07 +0000
+++ b/ts/devchk/nspr4_prinit_h.c	2013-08-08 15:05:10 +0000
@@ -38,8 +38,28 @@
 
 #endif
 
+#if 1
+CheckTypeSize(PRPrimordialFn,0, 10003756, 1, 5.0, NULL, 10003755, NULL)
+#endif
+
+#if 1
+/* All */
+typedef PRIntn (*PRPrimordialFn_db)(PRIntn, char * *);
+CheckFunctionTypedef(PRPrimordialFn,PRPrimordialFn_db);
+#endif
+
 extern PRStatus PR_Cleanup_db(void);
 CheckInterfacedef(PR_Cleanup,PR_Cleanup_db);
+extern void PR_Init_db(PRThreadType, PRThreadPriority, PRUintn);
+CheckInterfacedef(PR_Init,PR_Init_db);
+extern PRIntn PR_Initialize_db(PRPrimordialFn, PRIntn, char * *, PRUintn);
+CheckInterfacedef(PR_Initialize,PR_Initialize_db);
+extern PRBool PR_Initialized_db(void);
+CheckInterfacedef(PR_Initialized,PR_Initialized_db);
+extern void PR_ProcessExit_db(PRIntn);
+CheckInterfacedef(PR_ProcessExit,PR_ProcessExit_db);
+extern void PR_Abort_db(void);
+CheckInterfacedef(PR_Abort,PR_Abort_db);
 #ifdef TET_TEST
 if (pcnt == cnt )
 	tet_result(TET_PASS);

=== modified file 'ts/devchk/nspr4_prinrval_h.c'
--- a/ts/devchk/nspr4_prinrval_h.c	2012-10-01 13:17:07 +0000
+++ b/ts/devchk/nspr4_prinrval_h.c	2013-08-08 15:05:10 +0000
@@ -38,6 +38,14 @@
 
 #endif
 
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_INTERVAL_NO_WAIT */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_INTERVAL_NO_TIMEOUT */
+#endif
+
 #if 1
 CheckTypeSize(PRIntervalTime,0, 34254, 1, 4.0, NULL, 33493, NULL)
 #endif
@@ -46,6 +54,18 @@
 CheckInterfacedef(PR_SecondsToInterval,PR_SecondsToInterval_db);
 extern PRIntervalTime PR_MillisecondsToInterval_db(PRUint32);
 CheckInterfacedef(PR_MillisecondsToInterval,PR_MillisecondsToInterval_db);
+extern PRIntervalTime PR_IntervalNow_db(void);
+CheckInterfacedef(PR_IntervalNow,PR_IntervalNow_db);
+extern PRUint32 PR_TicksPerSecond_db(void);
+CheckInterfacedef(PR_TicksPerSecond,PR_TicksPerSecond_db);
+extern PRIntervalTime PR_MicrosecondsToInterval_db(PRUint32);
+CheckInterfacedef(PR_MicrosecondsToInterval,PR_MicrosecondsToInterval_db);
+extern PRUint32 PR_IntervalToSeconds_db(PRIntervalTime);
+CheckInterfacedef(PR_IntervalToSeconds,PR_IntervalToSeconds_db);
+extern PRUint32 PR_IntervalToMilliseconds_db(PRIntervalTime);
+CheckInterfacedef(PR_IntervalToMilliseconds,PR_IntervalToMilliseconds_db);
+extern PRUint32 PR_IntervalToMicroseconds_db(PRIntervalTime);
+CheckInterfacedef(PR_IntervalToMicroseconds,PR_IntervalToMicroseconds_db);
 #ifdef TET_TEST
 if (pcnt == cnt )
 	tet_result(TET_PASS);

=== modified file 'ts/devchk/nspr4_prio_h.c'
--- a/ts/devchk/nspr4_prio_h.c	2013-01-11 16:08:10 +0000
+++ b/ts/devchk/nspr4_prio_h.c	2013-08-08 15:05:10 +0000
@@ -38,6 +38,38 @@
 
 #endif
 
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_RDONLY */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_WRONLY */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_RDWR */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_CREATE_FILE */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_APPEND */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_TRUNCATE */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_SYNC */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_EXCL */
+#endif
+
 #if 1
 CheckTypeSize(PRDescType,0, 32524, 1, 4.0, NULL, 35207, NULL)
 #endif
@@ -2116,8 +2148,16 @@
 CheckInterfacedef(PR_OpenTCPSocket,PR_OpenTCPSocket_db);
 extern PRFileDesc * PR_OpenUDPSocket_db(PRIntn);
 CheckInterfacedef(PR_OpenUDPSocket,PR_OpenUDPSocket_db);
+extern PRStatus PR_ConnectContinue_db(PRFileDesc *, PRInt16);
+CheckInterfacedef(PR_ConnectContinue,PR_ConnectContinue_db);
 extern PRInt32 PR_Read_db(PRFileDesc *, void *, PRInt32);
 CheckInterfacedef(PR_Read,PR_Read_db);
+extern PRDescType PR_GetDescType_db(PRFileDesc *);
+CheckInterfacedef(PR_GetDescType,PR_GetDescType_db);
+extern PRFileDesc * PR_Open_db(const char *, PRIntn, PRIntn);
+CheckInterfacedef(PR_Open,PR_Open_db);
+extern PRStatus PR_CreatePipe_db(PRFileDesc * *, PRFileDesc * *);
+CheckInterfacedef(PR_CreatePipe,PR_CreatePipe_db);
 #ifdef TET_TEST
 if (pcnt == cnt )
 	tet_result(TET_PASS);

=== modified file 'ts/devchk/nspr4_prnetdb_h.c'
--- a/ts/devchk/nspr4_prnetdb_h.c	2013-01-11 16:08:10 +0000
+++ b/ts/devchk/nspr4_prnetdb_h.c	2013-08-08 15:05:10 +0000
@@ -38,6 +38,14 @@
 
 #endif
 
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_NetAddrFamily(addr) */
+#endif
+
+#if _LSB_DEFAULT_ARCH
+/* No test for PR_NetAddrInetPort(addr) */
+#endif
+
 #if defined __x86_64__
 CheckTypeSize(PRHostEnt,32, 34534, 11, 4.0, NULL, 35215, NULL)
 #elif defined __i386__
@@ -88,6 +96,10 @@
 CheckOffset(struct PRHostEnt,h_addr_list,0,1,87594)
 #endif
 
+#if 1
+CheckTypeSize(PRNetAddrValue,0, 10003758, 1, 5.0, NULL, 32655, NULL)
+#endif
+
 extern PRAddrInfo * PR_GetAddrInfoByName_db(const char *, PRUint16, PRIntn);
 CheckInterfacedef(PR_GetAddrInfoByName,PR_GetAddrInfoByName_db);
 extern void * PR_EnumerateAddrInfo_db(void *, const PRAddrInfo *, PRUint16, PRNetAddr *);
@@ -98,6 +110,12 @@
 CheckInterfacedef(PR_StringToNetAddr,PR_StringToNetAddr_db);
 extern PRStatus PR_NetAddrToString_db(const PRNetAddr *, char *, PRUint32);
 CheckInterfacedef(PR_NetAddrToString,PR_NetAddrToString_db);
+extern PRStatus PR_InitializeNetAddr_db(PRNetAddrValue, PRUint16, PRNetAddr *);
+CheckInterfacedef(PR_InitializeNetAddr,PR_InitializeNetAddr_db);
+extern void PR_ConvertIPv4AddrToIPv6_db(PRUint32, PRIPv6Addr *);
+CheckInterfacedef(PR_ConvertIPv4AddrToIPv6,PR_ConvertIPv4AddrToIPv6_db);
+extern const char * PR_GetCanonNameFromAddrInfo_db(const PRAddrInfo *);
+CheckInterfacedef(PR_GetCanonNameFromAddrInfo,PR_GetCanonNameFromAddrInfo_db);
 #ifdef TET_TEST
 if (pcnt == cnt )
 	tet_result(TET_PASS);

=== modified file 'ts/devchk/nspr4_prtime_h.c'
--- a/ts/devchk/nspr4_prtime_h.c	2013-01-11 16:08:10 +0000
+++ b/ts/devchk/nspr4_prtime_h.c	2013-08-08 15:05:10 +0000
@@ -59,11 +59,67 @@
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""4.0""',NULL,33308,NULL);\n",architecture,32747,0);
 #else
 Msg("Find size of PRTime (32747)\n");
-Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""4.0""',NULL,33308, NULL);\n",architecture,32747,0);
+Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""4.0""',NULL,33308,NULL);\n",architecture,32747,0);
+#endif
+
+#if 1
+CheckTypeSize(struct PRTimeParameters,0, 10003746, 1, , NULL, 0, NULL)
+Msg("Missing member data for PRTimeParameters on All\n");
+CheckOffset(struct PRTimeParameters,tp_gmt_offset,0,1,233880)
+CheckOffset(struct PRTimeParameters,tp_dst_offset,0,1,233881)
+#endif
+
+#if 1
+CheckTypeSize(PRTimeParameters,0, 10003747, 1, 5.0, NULL, 10003746, NULL)
+#endif
+
+#if 1
+CheckTypeSize(struct PRExplodedTime,0, 10003748, 1, , NULL, 0, NULL)
+Msg("Missing member data for PRExplodedTime on All\n");
+CheckOffset(struct PRExplodedTime,tm_usec,0,1,233882)
+CheckOffset(struct PRExplodedTime,tm_sec,0,1,233883)
+CheckOffset(struct PRExplodedTime,tm_min,0,1,233884)
+CheckOffset(struct PRExplodedTime,tm_hour,0,1,233885)
+CheckOffset(struct PRExplodedTime,tm_mday,0,1,233886)
+CheckOffset(struct PRExplodedTime,tm_month,0,1,233887)
+CheckOffset(struct PRExplodedTime,tm_year,0,1,233888)
+CheckOffset(struct PRExplodedTime,tm_wday,0,1,233889)
+CheckOffset(struct PRExplodedTime,tm_yday,0,1,233890)
+CheckOffset(struct PRExplodedTime,tm_yday,0,1,233891)
+#endif
+
+#if 1
+CheckTypeSize(PRExplodedTime,0, 10003749, 1, 5.0, NULL, 10003748, NULL)
+#endif
+
+#if 1
+CheckTypeSize(PRTimeParamFn,0, 10003754, 1, 5.0, NULL, 10003753, NULL)
+#endif
+
+#if 1
+/* All */
+typedef PRTimeParameters (*PRTimeParamFn_db)(const PRExplodedTime *);
+CheckFunctionTypedef(PRTimeParamFn,PRTimeParamFn_db);
 #endif
 
 extern PRTime PR_Now_db(void);
 CheckInterfacedef(PR_Now,PR_Now_db);
+extern void PR_ExplodeTime_db(PRTime, PRTimeParamFn, PRExplodedTime *);
+CheckInterfacedef(PR_ExplodeTime,PR_ExplodeTime_db);
+extern PRTime PR_ImplodeTime_db(const PRExplodedTime *);
+CheckInterfacedef(PR_ImplodeTime,PR_ImplodeTime_db);
+extern void PR_NormalizeTime_db(PRExplodedTime *, PRTimeParamFn);
+CheckInterfacedef(PR_NormalizeTime,PR_NormalizeTime_db);
+extern PRTimeParameters PR_LocalTimeParameters_db(const PRExplodedTime *);
+CheckInterfacedef(PR_LocalTimeParameters,PR_LocalTimeParameters_db);
+extern PRTimeParameters PR_GMTParameters_db(const PRExplodedTime *);
+CheckInterfacedef(PR_GMTParameters,PR_GMTParameters_db);
+extern PRStatus PR_ParseTimeString_db(const char *, PRBool, PRTime *);
+CheckInterfacedef(PR_ParseTimeString,PR_ParseTimeString_db);
+extern PRStatus PR_ParseTimeStringToExplodedTime_db(const char *, PRBool, PRExplodedTime *);
+CheckInterfacedef(PR_ParseTimeStringToExplodedTime,PR_ParseTimeStringToExplodedTime_db);
+extern PRUint32 PR_FormatTime_db(char *, int, const char *, const PRExplodedTime *);
+CheckInterfacedef(PR_FormatTime,PR_FormatTime_db);
 #ifdef TET_TEST
 if (pcnt == cnt )
 	tet_result(TET_PASS);



More information about the lsb-messages mailing list