/* 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. */ /* nwqconn.h 14-Apr-98 */ #ifndef _NWQCONN_H_ #define _NWQCONN_H_ #include "queuedef.h" extern int creat_queue_job(int task, uint32 q_id, uint8 *queue_job, uint8 *responsedata, uint8 old_call); extern int close_queue_job(uint32 q_id, int job_id); extern int close_queue_job2(uint32 q_id, int job_id, uint8 *client_area, uint8 *prc, int prc_len); extern int service_queue_job(int task, uint32 q_id, uint8 *queue_job, uint8 *responsedata, uint8 old_call); extern int finish_abort_queue_job(uint32 q_id, int job_id); extern uint32 get_queue_job_fhandle(uint32 q_id, int job_id); extern void free_queue_jobs(void); extern void free_connection_task_jobs(int task); #endif