/*
 * OpenComal -- a free Comal implementation
 *
 * This file is part of the OpenComal package.
 * (c) Copyright 1992-2024 Jos Visser <josvisser66@gmail.com>
 *
 * The OpenComal package is covered by the GNU General Public
 * License. See doc/LICENSE for more information.
 */

#ifndef PDCMOD_H
#define PDCMOD_H

extern int mod_use(struct seg_des *seg, struct id_rec *id, char *errtxt, struct comal_line **erline);

extern struct mod_entry *mod_find(struct id_rec *id);

extern struct comal_line *mod_find_def(struct seg_des *seg, struct id_rec *id);

extern struct comal_line *mod_search_routine(struct id_rec *id, int type);

extern void mod_freeall();

extern void mod_initall();

#endif
