Lines Matching refs:err
168 void CheckError( const char* strFunc, NWC24Err err ) in CheckError() argument
170 if ( err != NWC24_OK ) in CheckError()
172 OSReport( "%s: error %d\n", strFunc, err ); in CheckError()
188 NWC24Err err; in GetMsgIdList() local
192 err = NWC24GetNumMsgs( mBoxId, &g_numMsgs[mbType] ); in GetMsgIdList()
193 CheckError( "NWC24GetNumMsgs()", err ); in GetMsgIdList()
203 err = NWC24GetMsgIdList( mBoxId, g_idListBuf[mbType], g_numMsgs[mbType] ); in GetMsgIdList()
204 CheckError( "NWC24GetMsgIdList()", err ); in GetMsgIdList()
238 NWC24Err err; in GetListedSubjects() local
255 err = NWC24GetMsgObj( &msgObj, mBoxId, g_idListBuf[mbType][idxIdListBuf] ); in GetListedSubjects()
256 if ( err == NWC24_ERR_HIDDEN ) in GetListedSubjects()
264 CheckError( "NWC24GetMsgObj()", err ); in GetListedSubjects()
266 err = NWC24GetMsgSubjectSize( &msgObj, &subjectSize ); in GetListedSubjects()
267 CheckError( "NWC24GetMsgSubjectSize()", err ); in GetListedSubjects()
275 err = NWC24ReadMsgSubject( &msgObj, g_subjectBuf[mbType][i], subjectSize ); in GetListedSubjects()
276 if ( err != NWC24_OK ) in GetListedSubjects()
318 NWC24Err err; in OpenLib() local
320 err = NWC24OpenLib( s_libWorkMem ); in OpenLib()
321 while ( err == NWC24_ERR_BUSY ) in OpenLib()
324 err = NWC24OpenLib( s_libWorkMem ); in OpenLib()
326 CheckError( "NWC24OpenLib()", err ); in OpenLib()
337 NWC24Err err; in CloseLib() local
339 err = NWC24CloseLib(); in CloseLib()
340 CheckError( "NWC24CloseLib()", err ); in CloseLib()