/*************************************************************************** * Copyright (C) 2023 - 2025 by Federico Amedeo Izzo IU2NUO, * * Niccolò Izzo IU2KIN * * Frederik Saraci IU2NRO * * Silvano Seva IU2KWO * * * * This program 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. * * * * This program 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 this program; if not, see * ***************************************************************************/ #include "interfaces/cps_io.h" int cps_open(char *cps_name) { (void) cps_name; /* * Return 0 as if the codeplug has been correctly opened to avoid having the * system stuck in the attempt creating and then opening an empty codeplug. */ return 0; } void cps_close() { } int cps_create(char *cps_name) { (void) cps_name; return -1; } int cps_readContact(contact_t *contact, uint16_t pos) { (void) contact; (void) pos; return -1; } int cps_readChannel(channel_t *channel, uint16_t pos) { (void) channel; (void) pos; return -1; } int cps_readBankHeader(bankHdr_t *b_header, uint16_t pos) { (void) b_header; (void) pos; return -1; } int cps_readBankData(uint16_t bank_pos, uint16_t pos) { (void) bank_pos; (void) pos; return -1; } int cps_writeContact(contact_t contact, uint16_t pos) { (void) contact; (void) pos; return -1; } int cps_writeChannel(channel_t channel, uint16_t pos) { (void) channel; (void) pos; return -1; } int cps_writeBankHeader(bankHdr_t b_header, uint16_t pos) { (void) b_header; (void) pos; return -1; } int cps_writeBankData(uint32_t ch, uint16_t bank_pos, uint16_t pos) { (void) ch; (void) bank_pos; (void) pos; return -1; } int cps_insertContact(contact_t contact, uint16_t pos) { (void) contact; (void) pos; return -1; } int cps_insertChannel(channel_t channel, uint16_t pos) { (void) channel; (void) pos; return -1; } int cps_insertBankHeader(bankHdr_t b_header, uint16_t pos) { (void) b_header; (void) pos; return -1; } int cps_insertBankData(uint32_t ch, uint16_t bank_pos, uint16_t pos) { (void) ch; (void) bank_pos; (void) pos; return -1; } int cps_deleteContact(uint16_t pos) { (void) pos; return -1; } int cps_deleteChannel(channel_t channel, uint16_t pos) { (void) channel; (void) pos; return -1; } int cps_deleteBankHeader(uint16_t pos) { (void) pos; return -1; } int cps_deleteBankData(uint16_t bank_pos, uint16_t pos) { (void) bank_pos; (void) pos; return -1; }