mult_uip.h

Go to the documentation of this file.
00001 
00011 #ifndef MULT_UIP_H_
00012 #define MULT_UIP_H_
00013 
00014 
00015 //#include "uipopt.h"
00016 
00017 #include "../cli/debug.h"
00018 
00019 #include "api_services.h" //contem as variaveis de comunicação.
00020 
00021 
00022 //typedef struct services_state uip_tcp_appstate_t;
00023 
00024 /* Finally we define the application function to be called by uIP. */
00025 void services_appcall(void);
00026 
00027 //SERVIÇOS DE TCP
00028 #ifndef UIP_APPCALL
00029 #define UIP_APPCALL services_appcall
00030 #endif /* UIP_APPCALL */
00031 
00032 //SERVICOS DE UDP
00033 typedef struct dhcpc_state uip_udp_appstate_t;
00034 #define UIP_UDP_APPCALL dhcpc_appcall
00035 
00036 
00037 
00038 void services_init(void);
00039 
00040 
00041 #endif /* MULT_UIP_H_ */