Changeset 653:34373acfbc6a in freeDiameter for extensions/_sample/sample.c
- Timestamp:
- Jan 11, 2011, 12:18:09 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/_sample/sample.c
r10 r653 36 36 /* Sample extension to test extensions mechanism in freeDiameter */ 37 37 #include <freeDiameter/extension.h> 38 39 /* from sample.cpp */ 40 void mycppfunc(); 38 41 39 42 static int sample_main(char * conffile); … … 86 89 TRACE_DEBUG(INFO, "'Example-AVP' created without error\n"); 87 90 91 /* Call the c++ function */ 92 mycppfunc(); 93 88 94 /* The initialization function returns an error code with the standard POSIX meaning (ENOMEM, and so on) */ 89 95 return 0;
Note: See TracChangeset
for help on using the changeset viewer.