drummer/utils.h
Arnaud G. GIBERT 5cce284879 - Drop local libnode version, now use the official one, V2.3.x,
- Replace internal log system with LibLog V1.0.x,
- Code cleanup,
- Add GPL Licenses files.
2024-04-21 20:21:45 +02:00

152 lines
4.9 KiB
C

/*----------------------------------------------------------------------------*/
/* util.h */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* This file is part of Drummer. */
/* */
/* Drummer is free software: you can redistribute it and/or modify it */
/* under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* Drummer is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with Drummer. If not, see <https://www.gnu.org/licenses/>. */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* Includes */
/*----------------------------------------------------------------------------*/
#ifndef _UTILS_H_
#define _UTILS_H_
//#include "???"
/*----------------------------------------------------------------------------*/
/* Global definitions */
/*----------------------------------------------------------------------------*/
//typedef struct DRT_Drummer_URIS
//{
//} DRT_Drummer_URIS;
/*----------------------------------------------------------------------------*/
/* DRD DATA & API definition */
/*----------------------------------------------------------------------------*/
# ifdef _UTILS_C_
# define DRD_UTL_DATA
# define DRD_UTL_API
# else
# define DRD_UTL_DATA extern
# define DRD_UTL_API extern
# endif
/*----------------------------------------------------------------------------*/
/* Public Data */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* Public Prototypes */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* DR_Kit_Id_Convert */
/*----------------------------------------------------------------------------*/
DRD_UTL_API DRT_Status DR_Kit_Id_Convert( uint8_t *, uint8_t *, uint8_t *, DRT_Kit_Id);
/*----------------------------------------------------------------------------*/
/* DR_Bank_Program_Id_Convert */
/*----------------------------------------------------------------------------*/
DRD_UTL_API DRT_Status DR_Bank_Program_Id_Convert( DRT_Kit_Id *, uint8_t, uint8_t, uint8_t);
# ifdef _UTILS_C_
/*----------------------------------------------------------------------------*/
/* Private Definitions */
/*----------------------------------------------------------------------------*/
#define DRD_MODULE_NAME "utl"
#define LGD_MODULE_NAME "utl"
/*----------------------------------------------------------------------------*/
/* Private Prototypes */
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* Post Private Definitions */
/*----------------------------------------------------------------------------*/
# else // ifdef _UTILS_C_
/*----------------------------------------------------------------------------*/
/* Public Prototypes */
/*----------------------------------------------------------------------------*/
# endif // ifdef _UTILS_C_
/*----------------------------------------------------------------------------*/
#endif // ifndef _UTILS_H_