davisouzaluna / Dpubsub

Dynamic publisher/subscriber implementation in C
MIT License
0 stars 0 forks source link

[FIX] Delete meaningless functions in client_tcp_api header #6

Closed davisouzaluna closed 1 week ago

davisouzaluna commented 1 week ago

Functions to create a client without using a struct as a parameter don't make sense. Well, the return of the function should be the struct (to later manipulate it). A user who will use this library knows that in the C language, structs is a basic concept, so trying to create an abstraction layer would be a bit "over engineering"

See: client_tcp_api.h

davisouzaluna commented 1 week ago

commit 3243c298fb8757ce521bbbe2d7b3338407298e79