summaryrefslogtreecommitdiffstats
path: root/proxy/rpcgen/gss_proxy.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-30 14:03:58 -0500
committerSimo Sorce <simo@redhat.com>2012-02-01 17:56:34 -0500
commit6b02375bc7189acb11517063fc5acec3c1214ec8 (patch)
treef2f54a19bac7968bab0e5927eae1f64faf7cea15 /proxy/rpcgen/gss_proxy.h
parentdcf1205c60ca59dfe1060f9d8c4b927e1c0777cf (diff)
downloadgss-proxy-6b02375bc7189acb11517063fc5acec3c1214ec8.tar.gz
gss-proxy-6b02375bc7189acb11517063fc5acec3c1214ec8.tar.xz
gss-proxy-6b02375bc7189acb11517063fc5acec3c1214ec8.zip
Simplify gssx_name struct
We do not need arrays here. When multiple names are required then an array of gssx_names is more appropriate.
Diffstat (limited to 'proxy/rpcgen/gss_proxy.h')
-rw-r--r--proxy/rpcgen/gss_proxy.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/proxy/rpcgen/gss_proxy.h b/proxy/rpcgen/gss_proxy.h
index d49fe01..9986240 100644
--- a/proxy/rpcgen/gss_proxy.h
+++ b/proxy/rpcgen/gss_proxy.h
@@ -138,14 +138,8 @@ typedef struct gssx_call_ctx gssx_call_ctx;
struct gssx_name {
gssx_buffer *display_name;
gssx_OID name_type;
- struct {
- u_int exported_name_len;
- gssx_buffer *exported_name_val;
- } exported_name;
- struct {
- u_int exported_composite_name_len;
- gssx_buffer *exported_composite_name_val;
- } exported_composite_name;
+ gssx_buffer exported_name;
+ gssx_buffer exported_composite_name;
struct {
u_int name_attributes_len;
gssx_name_attr *name_attributes_val;