1*05b00f60SXin Li /* 2*05b00f60SXin Li * Copyright (c) 2018 The TCPDUMP project 3*05b00f60SXin Li * All rights reserved. 4*05b00f60SXin Li * 5*05b00f60SXin Li * Redistribution and use in source and binary forms, with or without 6*05b00f60SXin Li * modification, are permitted provided that: (1) source code 7*05b00f60SXin Li * distributions retain the above copyright notice and this paragraph 8*05b00f60SXin Li * in its entirety, and (2) distributions including binary code include 9*05b00f60SXin Li * the above copyright notice and this paragraph in its entirety in 10*05b00f60SXin Li * the documentation or other materials provided with the distribution. 11*05b00f60SXin Li * THIS SOFTWARE IS PROVIDED ``AS IS'' AND 12*05b00f60SXin Li * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 13*05b00f60SXin Li * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14*05b00f60SXin Li * FOR A PARTICULAR PURPOSE. 15*05b00f60SXin Li */ 16*05b00f60SXin Li 17*05b00f60SXin Li #ifndef status_exit_codes_h 18*05b00f60SXin Li #define status_exit_codes_h 19*05b00f60SXin Li 20*05b00f60SXin Li /* S_ERR_ND_* are libnetdissect status */ 21*05b00f60SXin Li 22*05b00f60SXin Li typedef enum { 23*05b00f60SXin Li S_SUCCESS = 0, /* not a libnetdissect status */ 24*05b00f60SXin Li S_ERR_HOST_PROGRAM = 1, /* not a libnetdissect status */ 25*05b00f60SXin Li S_ERR_ND_NO_PRINTER = 11, 26*05b00f60SXin Li S_ERR_ND_MEM_ALLOC = 12, 27*05b00f60SXin Li S_ERR_ND_OPEN_FILE = 13, 28*05b00f60SXin Li S_ERR_ND_WRITE_FILE = 14, 29*05b00f60SXin Li S_ERR_ND_ESP_SECRET = 15 30*05b00f60SXin Li } status_exit_codes_t; 31*05b00f60SXin Li 32*05b00f60SXin Li #endif /* status_exit_codes_h */ 33