Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
msgCore.h File Reference
#include "nscore.h"
#include "nsCRT.h"
#include "nsString.h"
#include "nsVoidArray.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"

Go to the source code of this file.

Defines

#define MRU_TIME_PROPERTY   "MRUTime"
#define NS_MSG_GENERATE_RESULT(severity, value)   NS_ERROR_GENERATE(severity, NS_ERROR_MODULE_MAILNEWS, value)
#define NS_MSG_GENERATE_SUCCESS(value)   NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_MAILNEWS, value)
#define NS_MSG_GENERATE_FAILURE(value)   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_MAILNEWS, value)
#define NS_MSG_SUCCESS   NS_MSG_GENERATE_SUCCESS(0)
#define NS_MSG_FAILURE   NS_MSG_GENERATE_FAILURE(0)
#define IS_SPACE(VAL)   NS_IS_SPACE(VAL)
#define IS_DIGIT(i)   NS_IS_DIGIT(i)
#define IS_ALPHA(VAL)   NS_IS_ALPHA(VAL)
#define NS_IS_MSG_ERROR(err)   (NS_ERROR_GET_MODULE(err) == NS_ERROR_MODULE_MAILNEWS)
#define NS_MSG_SUCCEEDED(err)   (NS_IS_MSG_ERROR(err) && NS_SUCCEEDED(err))
#define NS_MSG_FAILED(err)   (NS_IS_MSG_ERROR(err) && NS_FAILED(err))
#define NS_MSG_PASSWORD_PROMPT_CANCELLED   NS_MSG_GENERATE_SUCCESS(1)
#define NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE   NS_MSG_GENERATE_FAILURE(5)
#define NS_MSG_ERROR_FOLDER_SUMMARY_MISSING   NS_MSG_GENERATE_FAILURE(6)
#define NS_MSG_ERROR_FOLDER_MISSING   NS_MSG_GENERATE_FAILURE(7)
#define NS_MSG_MESSAGE_NOT_FOUND   NS_MSG_GENERATE_FAILURE(8)
#define NS_MSG_NOT_A_MAIL_FOLDER   NS_MSG_GENERATE_FAILURE(9)
#define NS_MSG_FOLDER_BUSY   NS_MSG_GENERATE_FAILURE(10)
#define NS_MSG_COULD_NOT_CREATE_DIRECTORY   NS_MSG_GENERATE_FAILURE(11)
#define NS_MSG_CANT_CREATE_FOLDER   NS_MSG_GENERATE_FAILURE(12)
#define NS_MSG_FILTER_PARSE_ERROR   NS_MSG_GENERATE_FAILURE(13)
#define NS_MSG_FOLDER_UNREADABLE   NS_MSG_GENERATE_FAILURE(14)
#define NS_MSG_ERROR_WRITING_MAIL_FOLDER   NS_MSG_GENERATE_FAILURE(15)
#define NS_MSG_ERROR_NO_SEARCH_VALUES   NS_MSG_GENERATE_FAILURE(16)
#define NS_MSG_ERROR_INVALID_SEARCH_SCOPE   NS_MSG_GENERATE_FAILURE(17)
#define NS_MSG_ERROR_INVALID_SEARCH_TERM   NS_MSG_GENERATE_FAILURE(18)
#define NS_MSG_FOLDER_EXISTS   NS_MSG_GENERATE_FAILURE(19)
#define NS_MSG_ERROR_OFFLINE   NS_MSG_GENERATE_FAILURE(20)
#define NS_MSG_POP_FILTER_TARGET_ERROR   NS_MSG_GENERATE_FAILURE(21)
#define NS_MSG_INVALID_OR_MISSING_SERVER   NS_MSG_GENERATE_FAILURE(22)
#define NS_MSG_SERVER_USERNAME_MISSING   NS_MSG_GENERATE_FAILURE(23)
#define NS_MSG_INVALID_DBVIEW_INDEX   NS_MSG_GENERATE_FAILURE(24)
#define NS_MSG_NEWS_ARTICLE_NOT_FOUND   NS_MSG_GENERATE_FAILURE(25)
#define NS_MSG_ERROR_COPY_FOLDER_ABORTED   NS_MSG_GENERATE_FAILURE(26)
#define NS_MSG_ERROR_URL_ABORTED   NS_MSG_GENERATE_FAILURE(27)
#define NS_MSG_CUSTOM_HEADERS_OVERFLOW   NS_MSG_GENERATE_FAILURE(28)
#define NS_MSG_INVALID_CUSTOM_HEADER   NS_MSG_GENERATE_FAILURE(29)
#define NS_MSG_USER_NOT_AUTHENTICATED   NS_MSG_GENERATE_FAILURE(30)
#define NS_MSG_ERROR_COPYING_FROM_TMP_DOWNLOAD   NS_MSG_GENERATE_FAILURE(31)
#define NS_MSGCOMP_ERROR_BEGIN   12500
#define NS_ERROR_NNTP_NO_CROSS_POSTING   NS_MSG_GENERATE_FAILURE(12554)
#define NS_MSGCOMP_ERROR_END   12999
#define MSG_LINEBREAK   NS_LINEBREAK
#define MSG_LINEBREAK_LEN   NS_LINEBREAK_LEN
#define NS_MSG_BASE   NS_IMPORT
#define NS_MSG_BASE_STATIC_MEMBER_(type)   NS_IMPORT_STATIC_MEMBER_(type)

Functions

nsresult NS_MSG_BASE nsGetMailFolderSeparator (nsString &result)

Define Documentation

#define IS_ALPHA (   VAL)    NS_IS_ALPHA(VAL)

Definition at line 92 of file msgCore.h.

#define IS_DIGIT (   i)    NS_IS_DIGIT(i)

Definition at line 91 of file msgCore.h.

#define IS_SPACE (   VAL)    NS_IS_SPACE(VAL)

Definition at line 90 of file msgCore.h.

#define MRU_TIME_PROPERTY   "MRUTime"

Definition at line 61 of file msgCore.h.

#define MSG_LINEBREAK   NS_LINEBREAK

Definition at line 170 of file msgCore.h.

#define MSG_LINEBREAK_LEN   NS_LINEBREAK_LEN

Definition at line 171 of file msgCore.h.

Definition at line 167 of file msgCore.h.

Definition at line 97 of file msgCore.h.

Definition at line 182 of file msgCore.h.

Definition at line 183 of file msgCore.h.

Definition at line 121 of file msgCore.h.

Definition at line 120 of file msgCore.h.

Definition at line 158 of file msgCore.h.

Definition at line 149 of file msgCore.h.

Definition at line 163 of file msgCore.h.

Definition at line 113 of file msgCore.h.

Definition at line 112 of file msgCore.h.

Definition at line 111 of file msgCore.h.

Definition at line 131 of file msgCore.h.

Definition at line 133 of file msgCore.h.

Definition at line 129 of file msgCore.h.

Definition at line 137 of file msgCore.h.

Definition at line 153 of file msgCore.h.

Definition at line 127 of file msgCore.h.

Definition at line 103 of file msgCore.h.

Definition at line 88 of file msgCore.h.

Definition at line 123 of file msgCore.h.

Definition at line 118 of file msgCore.h.

Definition at line 135 of file msgCore.h.

Definition at line 125 of file msgCore.h.

Definition at line 83 of file msgCore.h.

Definition at line 77 of file msgCore.h.

Definition at line 80 of file msgCore.h.

Definition at line 159 of file msgCore.h.

Definition at line 145 of file msgCore.h.

Definition at line 141 of file msgCore.h.

Definition at line 115 of file msgCore.h.

Definition at line 147 of file msgCore.h.

Definition at line 116 of file msgCore.h.

Definition at line 106 of file msgCore.h.

Definition at line 139 of file msgCore.h.

Definition at line 143 of file msgCore.h.

Definition at line 100 of file msgCore.h.

Definition at line 87 of file msgCore.h.

Definition at line 161 of file msgCore.h.

Definition at line 165 of file msgCore.h.

Definition at line 168 of file msgCore.h.


Function Documentation

Definition at line 4781 of file nsMsgDBFolder.cpp.

{
  result.AssignLiteral(".sbd");
  return NS_OK;
}

Here is the caller graph for this function: