summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-01 23:04:20 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-01 23:04:20 +0100
commit944dcceea3246cda6b37c8ec3843fc59acc9e42e (patch)
tree58b15aaef05198ea173c9bfa24000014f459271d /lib
parent2e902a26e55f407c89481fc8ca3fee07ae09f90c (diff)
downloadgnutls-944dcceea3246cda6b37c8ec3843fc59acc9e42e.tar.gz
gnutls_srtp_get_profile_by_name -> gnutls_srtp_get_profile_id
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/srtp.c6
-rw-r--r--lib/includes/gnutls/gnutls.h.in4
-rw-r--r--lib/libgnutls.map10
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/ext/srtp.c b/lib/ext/srtp.c
index c7b0e8663d..f0512cefb4 100644
--- a/lib/ext/srtp.c
+++ b/lib/ext/srtp.c
@@ -105,7 +105,7 @@ static gnutls_srtp_profile_t find_profile (const char *str, const char *end)
}
/**
- * gnutls_srtp_get_profile_by_name
+ * gnutls_srtp_get_profile_id
* @name: The name of the profile to look up
* @profile: Will hold the profile id
*
@@ -116,8 +116,8 @@ static gnutls_srtp_profile_t find_profile (const char *str, const char *end)
*
* Since 3.1.4
**/
-int gnutls_srtp_get_profile_by_name (const char *name,
- gnutls_srtp_profile_t *profile)
+int gnutls_srtp_get_profile_id (const char *name,
+ gnutls_srtp_profile_t *profile)
{
*profile = find_profile (name, NULL);
if (*profile == 0)
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index 3a80fc9405..60726d0d1b 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -990,8 +990,8 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
gnutls_srtp_profile_t *profile);
const char *gnutls_srtp_get_profile_name (gnutls_srtp_profile_t profile);
- int gnutls_srtp_get_profile_by_name (const char *name,
- gnutls_srtp_profile_t *profile);
+ int gnutls_srtp_get_profile_id (const char *name,
+ gnutls_srtp_profile_t *profile);
int gnutls_key_generate (gnutls_datum_t * key, unsigned int key_size);
diff --git a/lib/libgnutls.map b/lib/libgnutls.map
index 975a32e072..635e58a181 100644
--- a/lib/libgnutls.map
+++ b/lib/libgnutls.map
@@ -354,11 +354,6 @@ GNUTLS_1_4
gnutls_srp_set_server_credentials_file;
gnutls_srp_set_server_credentials_function;
gnutls_srp_verifier;
- gnutls_srtp_get_profile_by_name;
- gnutls_srtp_get_profile_name;
- gnutls_srtp_get_selected_profile;
- gnutls_srtp_set_profile;
- gnutls_srtp_set_profile_direct;
gnutls_strdup;
gnutls_strerror;
gnutls_strerror_name;
@@ -866,6 +861,11 @@ GNUTLS_3_1_0 {
gnutls_certificate_update_verify_flags;
gnutls_certificate_verify_peers3;
gnutls_certificate_verification_status_print;
+ gnutls_srtp_get_profile_id;
+ gnutls_srtp_get_profile_name;
+ gnutls_srtp_get_selected_profile;
+ gnutls_srtp_set_profile;
+ gnutls_srtp_set_profile_direct;
} GNUTLS_3_0_0;
GNUTLS_PRIVATE {