diff options
| author | Amar Tumballi <amar@gluster.com> | 2010-06-21 04:24:40 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-06-21 20:21:05 -0700 | 
| commit | b9b8734a9496ccf5f8ed5527dc7714930a59948b (patch) | |
| tree | ffcf9187c315b30e23cfa7f68f1d360e246d94c2 /xlators/protocol/auth/addr/src/addr.c | |
| parent | 2a5fada7546032e1fc1b106ddd40e42cc45349e1 (diff) | |
renamed xlator/protocol to xlator/protocol/legacy
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/auth/addr/src/addr.c')
| -rw-r--r-- | xlators/protocol/auth/addr/src/addr.c | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/protocol/auth/addr/src/addr.c b/xlators/protocol/auth/addr/src/addr.c index a8803a39fe2..729233fa182 100644 --- a/xlators/protocol/auth/addr/src/addr.c +++ b/xlators/protocol/auth/addr/src/addr.c @@ -36,6 +36,13 @@  #define AF_INET_SDP 27  #endif +/* TODO: duplicate declaration */ +typedef struct peer_info { +        struct sockaddr_storage sockaddr; +        socklen_t sockaddr_len; +        char identifier[UNIX_PATH_MAX]; +}peer_info_t; +  auth_result_t   gf_auth (dict_t *input_params, dict_t *config_params)  {  | 
