|
Packit |
229ac0 |
// SPDX-License-Identifier: GPL-2.0
|
|
Packit |
229ac0 |
//
|
|
Packit |
229ac0 |
// misc.h - a header file for miscellaneous tools.
|
|
Packit |
229ac0 |
//
|
|
Packit |
229ac0 |
// Copyright (c) 2018 Takashi Sakamoto <o-takashi@sakamocchi.jp>
|
|
Packit |
229ac0 |
//
|
|
Packit |
229ac0 |
// Licensed under the terms of the GNU General Public License, version 2.
|
|
Packit |
229ac0 |
|
|
Packit |
229ac0 |
#ifndef __ALSA_UTILS_AXFER_MISC__H_
|
|
Packit |
229ac0 |
#define __ALSA_UTILS_AXFER_MISC__H_
|
|
Packit |
229ac0 |
|
|
Packit |
229ac0 |
#include <gettext.h>
|
|
Packit |
229ac0 |
|
|
Packit |
229ac0 |
#define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0]))
|
|
Packit |
229ac0 |
|
|
Packit |
229ac0 |
char *arg_duplicate_string(const char *str, int *err);
|
|
Packit |
229ac0 |
long arg_parse_decimal_num(const char *str, int *err);
|
|
Packit |
229ac0 |
|
|
Packit |
229ac0 |
#endif
|