Hey, I am a newbie to all of this so please don't flame me for a stupid question. I am trying to write a shared lib that will initialize a connection to a messaging deamon. Then the library will be called at intervals and send data. My problem is that I am having issues with passing a datatype to a lib. I would think that the following would work.
void
initRv( tibrvTransport *transport)
{
char* serviceStr = "7500";
char* networkStr = "";
char* daemonStr = "tcp:7500";
status = tibrvTransport_Create(*transport, serviceStr, networkStr, daemonStr);
return;
}
Give me a warning: passing arg 1 of tibrvTransport_Create
makes pointer from integer without a cast
I think I have the pointers screwed up.??