I am looking for some direction on calling a C function from within a component. I have looked at the sample C API code in my EnterpriseServer5/samples/c_api but have a gap in understanding.
The integration requires every flat file exchanged between two servers to be subjected to a C function which verifies its contents. The C function uses the file’s contents to generate a 4-character value. After creating the flat file on my source machine, I need to call the C function to create this 4-character value.
I don’t care how the C function returns the 4-character code to the Broker – it can be as request-reply (Publish and Wait) or publish-subscribe. I just need to get the results.
From looking at the C API sample code, I don’t see how to actually call my C function. I also don’t know where the code for the C Client should reside.
Thanks for your help.