#include "DRW/drwwh.h"
#include "DRW/drwWwinit.h"
#include "DRW/drwWxdata.h"

#ifndef drwosh_H
 #include "DRW/drwosh.h"
#endif

#ifndef drwExtedith_H
 #include "DRW/drwExedith.h"
#endif

#include "DRW/drwUExdfnR.h"


extern int drw_u_extedit_accept_ramtfr(extedit_job_handle job_handle,
                                       int source1,
                                       int source2,
                                       int source3,
                                       int source4,
                                       byte **buffer,
                                       int *buffpos,
                                       int *buffsize)

{

return FALSE;

}


extern int drw_u_extedit_ram_tfr(int source1,
                                 int source2,
                                 int source3,
                                 int source4,
                                 int tfrtype,
                                 byte *addr,
                                 int xfer_size,
                                 int numtfrd,
                                 int end_of_ram_tfr,
                                 byte **rtbuffer,
                                 int *buffpos,
                                 int *buffsize,
                                 extedit_message_rq *emrq)

{

/* Should be called from drw_extedit_process_ram_tfr on receiving a ram transfer   message. tfrtype represents the type of the RECEIVED message, not the reply
   type. i.e. if tfrtype == message_RAM_FETCH, then set up data for a
   RAM_TRANSMIT reply, and clearly if tfrtype == message_RAM_TRANSMIT, set up
   data for a RAM_FETCH reply. */

bits file_type, sub_type;
int cu_editing, read_only, tfrsize;

tfrsize = 0;
file_type = emrq->data_type & extedit_FILE_TYPE;
sub_type = (emrq->data_type & extedit_SUB_TYPE) >> extedit_SUB_TYPE_SHIFT;
cu_editing = drw_wimp_eeflag(&emrq->flags, extedit_CONTINUE_EDITING, pwcv);
read_only = drw_wimp_eeflag(&emrq->flags, extedit_READ_ONLY, pwcv);

return tfrsize;

}


extern void drw_u_extedit_post_ramtfr(extedit_job_handle job_handle,
                                      int source1,
                                      int source2,
                                      int source3,
                                      int source4,
                                      int tfrtypein,
                                      byte *buffer,
                                      int buffpos,
                                      int buffsize)

{

return;

}


extern void drw_u_returned_extedit_ramtfr(extedit_job_handle job_handle,
                                          int source1,
                                          int source2,
                                          int source3,
                                          int source4,
                                          int tfrtype,
                                          int firstfetch)

{

return;

}

