/////////////////////////////////////////////////////////////////////////////////////////
//
// Please refer to "COPYRIGHT.md" for the relevant copyright statement of this software.
//
/////////////////////////////////////////////////////////////////////////////////////////
//
#ifndef _GDSRXDEF_H_
#define _GDSRXDEF_H_ 1

#pragma pack(push, 8)
typedef struct fchnd
{
  struct fchnd* next;
  int fcode;
  int (*fhdl)();
} FunHandList;

class GcRxGenHand;

class RxGDSAppTableEntryType
{
public:
  int lflag = 0;
  const GCHAR* appname = nullptr;
  Gsoft::LongPtr apphandle = 0;
  int gds_fcode = 0;
  int gds_invkcnt = 0;
  struct resbuf* gds_argl = nullptr;
  FunHandList* gds_fhdl = nullptr;
  GcRxGenHand* modhandle = nullptr;
  resbuf* gds_ret = nullptr;
  int gds_rettype = 0;
};

#pragma pack(pop)
#endif