namespace the scope_path functions
[babeltrace.git] / types / types.c
index 3ffe7e2f1b83d0e92efb5d2796f15406ccaf9b98..9c5cfca3a3941be044abf68e4c4d90a35d560945 100644 (file)
  *
  * The above copyright notice and this permission notice shall be included in
  * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
  */
 
 #include <babeltrace/format.h>
@@ -539,7 +547,7 @@ struct definition_scope *
 
        if (root_name) {
                scope = _new_definition_scope(parent_scope, 0);
-               append_scope_path(root_name, scope->scope_path);
+               bt_append_scope_path(root_name, scope->scope_path);
        } else {
                int scope_path_len = 1;
 
@@ -566,7 +574,7 @@ struct definition_scope *
 /*
  * in: path (dot separated), out: q (GArray of GQuark)
  */
-void append_scope_path(const char *path, GArray *q)
+void bt_append_scope_path(const char *path, GArray *q)
 {
        const char *ptrbegin, *ptrend = path;
        GQuark quark;
@@ -634,7 +642,7 @@ struct definition_integer *lookup_integer(const struct definition *definition,
        return lookup_integer;
 }
 
-struct definition_enum *lookup_enum(const struct definition *definition,
+struct definition_enum *bt_lookup_enum(const struct definition *definition,
                                    const char *field_name,
                                    int signedness)
 {
This page took 0.025549 seconds and 4 git commands to generate.