summaryrefslogtreecommitdiffstats
path: root/media/libcubeb/src/cubeb_strings.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-03 14:14:26 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-03 14:14:26 -0500
commit1960d6e08a949ceed50e6a18240d40a7ecee879c (patch)
tree580b06d4df15ff5f8a9c3f20468bf2160ac666e5 /media/libcubeb/src/cubeb_strings.h
parent732fe36241032a1793e09209ccc06cb720225b9e (diff)
downloadUXP-1960d6e08a949ceed50e6a18240d40a7ecee879c.tar
UXP-1960d6e08a949ceed50e6a18240d40a7ecee879c.tar.gz
UXP-1960d6e08a949ceed50e6a18240d40a7ecee879c.tar.lz
UXP-1960d6e08a949ceed50e6a18240d40a7ecee879c.tar.xz
UXP-1960d6e08a949ceed50e6a18240d40a7ecee879c.zip
Revert "Issue #1267 - Part 1: Update libcubeb to a1200c34."
This reverts commit d162ecbaffe845c9707da5d2f6cab11f343ef00e.
Diffstat (limited to 'media/libcubeb/src/cubeb_strings.h')
-rw-r--r--media/libcubeb/src/cubeb_strings.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/media/libcubeb/src/cubeb_strings.h b/media/libcubeb/src/cubeb_strings.h
deleted file mode 100644
index a918a01c5..000000000
--- a/media/libcubeb/src/cubeb_strings.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright © 2011 Mozilla Foundation
- *
- * This program is made available under an ISC-style license. See the
- * accompanying file LICENSE for details.
- */
-
-#ifndef CUBEB_STRINGS_H
-#define CUBEB_STRINGS_H
-
-#include "cubeb/cubeb.h"
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
-/** Opaque handle referencing interned string storage. */
-typedef struct cubeb_strings cubeb_strings;
-
-/** Initialize an interned string structure.
- @param strings An out param where an opaque pointer to the
- interned string storage will be returned.
- @retval CUBEB_OK in case of success.
- @retval CUBEB_ERROR in case of error. */
-CUBEB_EXPORT int cubeb_strings_init(cubeb_strings ** strings);
-
-/** Destroy an interned string structure freeing all associated memory.
- @param strings An opaque pointer to the interned string storage to
- destroy. */
-CUBEB_EXPORT void cubeb_strings_destroy(cubeb_strings * strings);
-
-/** Add string to internal storage.
- @param strings Opaque pointer to interned string storage.
- @param s String to add to storage.
- @retval CUBEB_OK
- @retval CUBEB_ERROR
- */
-CUBEB_EXPORT char const * cubeb_strings_intern(cubeb_strings * strings, char const * s);
-
-#if defined(__cplusplus)
-}
-#endif
-
-#endif // !CUBEB_STRINGS_H