Add cosmo_current_profile()

This commit is contained in:
Ian Gulliver
2015-06-06 15:32:13 -07:00
parent 897e13010d
commit b257b23e8a
3 changed files with 22 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ int main(int argc, char *argv[]) {
cosmo_send_message(instance, subject, message);
json_decref(message);
json_decref(subject);
sleep(5);
printf("profile: %s\n", cosmo_current_profile(instance));
sleep(120);
cosmo_shutdown(instance);