gcc 4.4.2 c89
I have it defined in our API header file.
#define UNASSIGNED_NUMBER 0x01 #define NORMAL_CLEARING 0x10 #define CHANNEL_UNACCEPTABLE 0x06 #define USER_BUSY 0x11 . . .
However, I want to pass it to functions, but I'm not sure about the type. Could I pass as an integer value? The release_call function takes one of them as a parameter. However, I'm not sure if definitions are defined as hexadecimal notation.
drop_and_release_call(23, 6); uint32_t drop_and_release_call(uint32_t port_num, uint32_t reason) { release_call(port_num, reason); }
Thanks so much for any suggestions,
source share