mb_slave_and_master.h
changeset 0 ae252e0fd9b8
equal deleted inserted replaced
-1:000000000000 0:ae252e0fd9b8
       
     1 /*
       
     2  * Copyright (c) 2002,2016 Mario de Sousa (msousa@fe.up.pt)
       
     3  *
       
     4  * This file is part of the Modbus library for Beremiz and matiec.
       
     5  *
       
     6  * This Modbus library is free software: you can redistribute it and/or modify
       
     7  * it under the terms of the GNU Lesser General Public License as published by
       
     8  * the Free Software Foundation, either version 3 of the License, or
       
     9  * (at your option) any later version.
       
    10  *
       
    11  * This program is distributed in the hope that it will be useful, but
       
    12  * WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 
       
    14  * General Public License for more details.
       
    15  *
       
    16  * You should have received a copy of the GNU Lesser General Public License
       
    17  * along with this Modbus library.  If not, see <http://www.gnu.org/licenses/>.
       
    18  *
       
    19  * This code is made available on the understanding that it will not be
       
    20  * used in safety-critical situations without a full and competent review.
       
    21  */
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #include "mb_slave.h"
       
    27 #include "mb_master.h"
       
    28 
       
    29 
       
    30 /************************************************************************
       
    31 
       
    32 	initialise / shutdown the library
       
    33 
       
    34 	These functions sets up/shut down the library state
       
    35         (allocate memory for buffers, initialise data strcutures, etc)
       
    36 
       
    37 **************************************************************************/
       
    38 
       
    39 
       
    40 int mb_slave_and_master_init(int nd_count_tcp, int nd_count_rtu, int nd_count_ascii);
       
    41 
       
    42 int mb_slave_and_master_done(void);
       
    43