Example: Calling an Internal Business Function with No Return Value

This example calls an internal business function that has no return value.

This portion is an example of b550001.h:

/* normal business function header pieces */
...
/* The internal business function prototype must be in the header for other
   modules to call it */
   void i550001(int *a, int b);

This portion is an example of b550001.c:

/* normal business function code pieces */
#include <b550001.h>
JDEBFRTN(ID) JDEBFWINAPI TestBSFN(LPBHVRCOM  lpVhvrCom,
                                  LPVOID   lpVoid,
                                  LPDSB550001 lpDS)
{
...
}
void i550001(int *a, int b)
{
   *a = *a + b;
   return;
}

This portion is an example of b550002.c:

/* normal business function code pieces */
#include <b550002.h>
#include <b550001.h>

JDEBFRTN(ID) JDEBFWINAPI TestBSFN(LPBHVRCOM  lpBhvrCom,
                                  LPVOID   lpVoid,
                                  LPDSB550001 lpDS)
{
   int total = 3;
   int adder = 7;

   CALLIBF(i550001(&total,adder));
}