fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
at master 37 lines 1.8 kB view raw
1/***************************************************************************** 2 * pce * 3 *****************************************************************************/ 4 5/***************************************************************************** 6 * File name: src/utils/pti/comment.h * 7 * Created: 2020-04-30 by Hampa Hug <hampa@hampa.ch> * 8 * Copyright: (C) 2020 Hampa Hug <hampa@hampa.ch> * 9 *****************************************************************************/ 10 11/***************************************************************************** 12 * This program is free software. You can redistribute it and / or modify it * 13 * under the terms of the GNU General Public License version 2 as published * 14 * by the Free Software Foundation. * 15 * * 16 * This program is distributed in the hope that it will be useful, but * 17 * WITHOUT ANY WARRANTY, without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * 19 * Public License for more details. * 20 *****************************************************************************/ 21 22 23#ifndef PTI_COMMENT_H 24#define PTI_COMMENT_H 1 25 26 27#include <drivers/pti/pti.h> 28 29 30int pti_comment_add (pti_img_t *img, const char *str); 31int pti_comment_load (pti_img_t *img, const char *fname); 32int pti_comment_save (pti_img_t *img, const char *fname); 33int pti_comment_set (pti_img_t *img, const char *str); 34int pti_comment_show (pti_img_t *img); 35 36 37#endif