tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()
authorStefan Metzmacher <metze@samba.org>
Thu, 30 Apr 2009 11:10:54 +0000 (13:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 May 2009 15:41:38 +0000 (17:41 +0200)
metze

lib/tsocket/tsocket.h
lib/tsocket/tsocket_bsd.c

index 84e74afa895c31ac3059fd829dcc13e2e2e0c9c9..a4ae3fc32a26052511efc89d5d4e9a3807dce6cc 100644 (file)
@@ -110,13 +110,13 @@ int _tdgram_inet_udp_socket(const struct tsocket_address *local,
 #define tdgram_inet_udp_socket(local, remote, mem_ctx, dgram) \
        _tdgram_inet_udp_socket(local, remote, mem_ctx, dgram, __location__)
 
-int _tdgram_unix_dgram_socket(const struct tsocket_address *local,
-                             const struct tsocket_address *remote,
-                             TALLOC_CTX *mem_ctx,
-                             struct tdgram_context **dgram,
-                             const char *location);
-#define tdgram_unix_dgram_socket(local, remote, mem_ctx, dgram) \
-       _tdgram_unix_dgram_socket(local, remote, mem_ctx, dgram, __location__)
+int _tdgram_unix_socket(const struct tsocket_address *local,
+                       const struct tsocket_address *remote,
+                       TALLOC_CTX *mem_ctx,
+                       struct tdgram_context **dgram,
+                       const char *location);
+#define tdgram_unix_socket(local, remote, mem_ctx, dgram) \
+       _tdgram_unix_socket(local, remote, mem_ctx, dgram, __location__)
 
 /*
  * Queue helpers
index 34ae60ee09050bb493c1b858330e64d3773a9734..2b68f178c3252c310b303ded8092ca9ae37bfce8 100644 (file)
@@ -1233,11 +1233,11 @@ int _tdgram_inet_udp_socket(const struct tsocket_address *local,
        return ret;
 }
 
-int _tdgram_unix_dgram_socket(const struct tsocket_address *local,
-                             const struct tsocket_address *remote,
-                             TALLOC_CTX *mem_ctx,
-                             struct tdgram_context **dgram,
-                             const char *location)
+int _tdgram_unix_socket(const struct tsocket_address *local,
+                       const struct tsocket_address *remote,
+                       TALLOC_CTX *mem_ctx,
+                       struct tdgram_context **dgram,
+                       const char *location)
 {
        struct tsocket_address_bsd *lbsda =
                talloc_get_type_abort(local->private_data,