// SPDX-License-Identifier: GPL-2.0-only /* drbd.h This file is part of DRBD by Philipp Reisner and Lars Ellenberg. Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. Copyright (C) 2003-2008, Philipp Reisner <[email protected]>. Copyright (C) 2003-2008, Lars Ellenberg <[email protected]>. */ #include <linux/drbd.h> #include "drbd_strings.h" static const char * const drbd_conn_s_names[] = …; static const char * const drbd_role_s_names[] = …; static const char * const drbd_disk_s_names[] = …; static const char * const drbd_state_sw_errors[] = …; const char *drbd_conn_str(enum drbd_conns s) { … } const char *drbd_role_str(enum drbd_role s) { … } const char *drbd_disk_str(enum drbd_disk_state s) { … } const char *drbd_set_st_err_str(enum drbd_state_rv err) { … }