Refactoring: struct lttng_enum_desc and lttng_enum_entry
[lttng-ust.git] / include / ust-comm.h
index bc185669301a5fb0f36fa5e501c55fe2ff17aa1f..aaf7c6ef76e7e0f51cbc2b798b2cee1276f5690f 100644 (file)
@@ -42,9 +42,9 @@
 #define LTTNG_UST_COMM_MAX_LISTEN                      10
 #define LTTNG_UST_COMM_REG_MSG_PADDING                 64
 
-struct lttng_event_field;
+struct lttng_ust_event_field;
 struct lttng_ctx_field;
-struct lttng_enum_entry;
+struct lttng_ust_enum_entry;
 struct lttng_integer_type;
 struct lttng_session;
 
@@ -279,7 +279,7 @@ int ustcomm_register_event(int sock,
        int loglevel,
        const char *signature,          /* event signature (input) */
        size_t nr_fields,               /* fields */
-       const struct lttng_event_field *fields,
+       const struct lttng_ust_event_field **fields,
        const char *model_emf_uri,
        uint32_t *id);                  /* event id (output) */
 
@@ -292,7 +292,7 @@ int ustcomm_register_enum(int sock,
        int session_objd,               /* session descriptor */
        const char *enum_name,          /* enum name (input) */
        size_t nr_entries,              /* entries */
-       const struct lttng_enum_entry *entries,
+       const struct lttng_ust_enum_entry **entries,
        uint64_t *id);                  /* enum id (output) */
 
 /*
This page took 0.023805 seconds and 4 git commands to generate.