1 |
|
#include "plugin.h" |
2 |
|
#include "aos.h" |
3 |
|
#include "ng_log.h" |
4 |
|
#include <stdio.h> |
5 |
|
|
6 |
|
int plugin_initialize(int argc, char* argv[]){ |
7 |
|
ng_log(LOG_ERR, "Initializing plugin b!\n"); |
8 |
|
/*ng_log(LOG_DEBUG, "My pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/ |
9 |
|
return 0; |
10 |
|
} |
11 |
|
|
12 |
|
int plugin_run(){ |
13 |
|
/*ng_log(LOG_ERR, "My PEM string: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/ |
14 |
|
ng_log(LOG_ERR, "Getting 'foo'\n"); |
15 |
|
ng_log(LOG_ERR, "foo: %s\n", (char*) AOS_get_value_by_label("foo")); |
16 |
|
return 0; |
17 |
|
} |
18 |
|
|