Change-Id: Icbc6cdfe014529ab435325d5fa72c216d20db5b8
#include "afb-wsj1.hpp"
void onreply(const char *value){
#include "afb-wsj1.hpp"
void onreply(const char *value){
- std::cout<< *value<<std::endl;
- system("PAUSE");
+ std::cout << value << std::endl;
+ exit(0);
}
int main(int ac, char **av){
}
int main(int ac, char **av){
afb::wsj1 sj1;
sj1.connect(uri);
sj1.call(api,verb,req,onreply);
afb::wsj1 sj1;
sj1.connect(uri);
sj1.call(api,verb,req,onreply);
return EXIT_SUCCESS;
}
\ No newline at end of file
return EXIT_SUCCESS;
}
\ No newline at end of file
}
void wsj1::on_hangup_(struct afb_wsj1 *wsj1) {
}
void wsj1::on_hangup_(struct afb_wsj1 *wsj1) {