/* SPDX-License-Identifier: GPL-2.0-only */ /* * This file is part of mars_nwe. * * Copyright (C) 1993-2000 Martin Stover, Marburg, Germany * Copyright (C) 2026 Mario Fetka * * 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; version 2 only. * * 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. */ #ifndef _NWATALK_H_ #define _NWATALK_H_ #include "net.h" #define NWATALK_FINDER_INFO_LEN 32 #define NWATALK_PRODOS_INFO_LEN 6 int nwatalk_backend_available(void); int nwatalk_get_finder_info(const char *path, uint8 *finder_info, int finder_info_len); int nwatalk_set_finder_info(const char *path, const uint8 *finder_info, int finder_info_len); int nwatalk_get_prodos_info(const char *path, uint8 *prodos_info, int prodos_info_len); int nwatalk_set_prodos_info(const char *path, const uint8 *prodos_info, int prodos_info_len); int nwatalk_get_afp_attributes(const char *path, uint16 *attributes); int nwatalk_set_afp_attributes(const char *path, uint16 attributes); int nwatalk_get_resource_fork_size(const char *path, uint32 *resource_size); int nwatalk_get_entry_id(const char *path, uint32 *entry_id); int nwatalk_set_entry_id(const char *path, uint32 entry_id); #endif