www.pudn.com > PROFIBUS_DP_protocol_source.ZIP > fmaserve.h, change:2004-03-17,size:2049b


//----------------------------------------------------------------------------- 
// $Id: fmaserver.h,v 1.0.0                                         2004/01/13 
//----------------------------------------------------------------------------- 
// 
//      ProfiM - PROFIBUS MASTER DRIVER FOR WINDOWS NT/2000 
// 
// Author:   
//      Pavel Trnka, CTU FEE 
//      trnkap@seznam.cz 
// With help and advices from: 
//      Ing. Petr Smolik, CTU FEE 
//      Ing. Pavel Pisa, CTU FEE 
//      Ing. Pavel Burget, CTU FEE 
//----------------------------------------------------------------------------- 
//----------------------------------------------------------------------------- 
 
#ifndef _FMASERVER_H_ 
#define _FMASERVER_H_ 
 
#include "vardef.h" 
 
/* 
extern UBYTE TS; 
 
extern statistic_ctr_list *ctr_list; 
 
 
extern  fdl_rb          *rqb;        // universal pointer to request block 
extern  fdl_rb          *recv_rb;    // pointer to received request block  
*/ 
 
 
 
 
//***************************************************************************** 
//** 
//**    Funkce pro linkvou vrstvu 
//** 
//***************************************************************************** 
 
 
 
// CONFIRMATIONS 
 
void  build_conf( fdl_rb *rb, int L_status ); 
void  build_conf_srd( fdl_rb *rb, PUCHAR user_data, int Datlng, int Response ); 
void  build_fdl_id_conf( fdl_rb *rb, PUCHAR user_data, int Datlng, int Response ); 
 
 
// INDICATIONS 
 
void  build_ind_sdn( fdl_rb *rb, 
                     UBYTE remadd, 
                     UBYTE remsap, 
                     UBYTE ssap, 
                     UBYTE user_data[260], 
                     int Datlng, 
                     UBYTE ServClass ); 
void  build_ind_srd( fdl_rb *rb, 
                     UBYTE remadd, 
                     UBYTE remsap, 
                     UBYTE ssap, 
                     UBYTE user_data[260], 
                     int Datlng, 
                     UBYTE ServClass, 
                     UBYTE Update_status ); 
 
 
 
 
#endif /* _FMASERVER_H_ */