-
- Downloads
Fix load errors related to the new ari_model_validators.
The Asterisk strategy of loading modules with RTLD_LAZY to extract metadata from the module works well enough, until you try to take the address of a function. If a module takes the address of a function, that function needs to be resolved at load time. That kinda defeats RTLD_LAZY. This patch adds some ari_validator_{id}_fn() wrapper functions for safely getting the function pointer from a different module. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- res/res_stasis_http_bridges.c 1 addition, 1 deletionres/res_stasis_http_bridges.c
- res/res_stasis_http_channels.c 1 addition, 1 deletionres/res_stasis_http_channels.c
- res/res_stasis_http_endpoints.c 2 additions, 2 deletionsres/res_stasis_http_endpoints.c
- res/res_stasis_http_events.c 1 addition, 1 deletionres/res_stasis_http_events.c
- res/res_stasis_http_recordings.c 2 additions, 2 deletionsres/res_stasis_http_recordings.c
- res/res_stasis_http_sounds.c 1 addition, 1 deletionres/res_stasis_http_sounds.c
- res/stasis_http/ari_model_validators.c 160 additions, 0 deletionsres/stasis_http/ari_model_validators.c
- res/stasis_http/ari_model_validators.h 240 additions, 0 deletionsres/stasis_http/ari_model_validators.h
- rest-api-templates/ari_model_validators.c.mustache 5 additions, 0 deletionsrest-api-templates/ari_model_validators.c.mustache
- rest-api-templates/ari_model_validators.h.mustache 23 additions, 0 deletionsrest-api-templates/ari_model_validators.h.mustache
- rest-api-templates/res_stasis_http_resource.c.mustache 2 additions, 2 deletionsrest-api-templates/res_stasis_http_resource.c.mustache
Loading
Please register or sign in to comment