ECMAPI.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2005 - 2016 Zarafa and its licensors
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Affero General Public License, version 3,
  6. * as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU Affero General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Affero General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. *
  16. */
  17. #ifndef ECMAPI_H
  18. #define ECMAPI_H
  19. // For PR_MESSAGE_FLAGS
  20. #define MSGFLAG_DELETED ((ULONG) 0x00000400)
  21. #define MSGFLAG_NOTIFY_FLAGS (MSGFLAG_DELETED | MSGFLAG_ASSOCIATED)
  22. #define MSGFLAG_SETTABLE_BY_USER (MSGFLAG_UNMODIFIED| MSGFLAG_READ | MSGFLAG_UNSENT | MSGFLAG_FROMME | MSGFLAG_RESEND)
  23. #define MSGFLAG_SETTABLE_BY_SPOOLER (MSGFLAG_RN_PENDING| MSGFLAG_NRN_PENDING)
  24. #define MSGFLAG_UNSETTABLE (MSGFLAG_DELETED | MSGFLAG_ASSOCIATED)
  25. #endif // ECMAPI_H