You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

  1. /* Copyright (c) 2007 MySQL AB, 2008 Sun Microsystems, Inc.
  2. Use is subject to license terms.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; version 2 of the License.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  13. #ifndef RPL_CONSTANTS_H
  14. #define RPL_CONSTANTS_H
  15. /**
  16. Enumeration of the incidents that can occur for the server.
  17. */
  18. enum Incident {
  19. /** No incident */
  20. INCIDENT_NONE = 0,
  21. /** There are possibly lost events in the replication stream */
  22. INCIDENT_LOST_EVENTS = 1,
  23. /** Shall be last event of the enumeration */
  24. INCIDENT_COUNT
  25. };
  26. #endif /* RPL_CONSTANTS_H */