/pidgin/main: 46af2ac9acf8: Hide PurpleDnsType from public usage
Jorge Villase?or
salinasv at pidgin.im
Tue Dec 15 02:30:12 EST 2015
Changeset: 46af2ac9acf812ad7001ad2c52b69da1d20fc8f8
Author: Jorge Villase?or <salinasv at pidgin.im>
Date: 2015-12-14 23:29 -0800
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/46af2ac9acf8
Description:
Hide PurpleDnsType from public usage
PurpleDnsType is only used in dnssrv.c so it is not needed to expose it.
diffstat:
libpurple/dnssrv.c | 5 +++++
libpurple/dnssrv.h | 5 -----
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (30 lines):
diff --git a/libpurple/dnssrv.c b/libpurple/dnssrv.c
--- a/libpurple/dnssrv.c
+++ b/libpurple/dnssrv.c
@@ -61,6 +61,11 @@ typedef union {
} queryans;
#endif
+enum PurpleDnsType {
+ PurpleDnsTypeTxt = 16,
+ PurpleDnsTypeSrv = 33
+};
+
struct _PurpleSrvTxtQueryData {
union {
PurpleSrvCallback srv;
diff --git a/libpurple/dnssrv.h b/libpurple/dnssrv.h
--- a/libpurple/dnssrv.h
+++ b/libpurple/dnssrv.h
@@ -36,11 +36,6 @@ typedef struct _PurpleSrvTxtQueryUiOps P
#include <glib.h>
#include <glib-object.h>
-enum PurpleDnsType {
- PurpleDnsTypeTxt = 16,
- PurpleDnsTypeSrv = 33
-};
-
struct _PurpleSrvResponse {
char hostname[256];
int port;
More information about the Commits
mailing list