summaryrefslogtreecommitdiff
path: root/source3/utils/net_groupmap.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-30 18:47:25 +0100
committerVolker Lendecke <vl@sernet.de>2007-11-30 22:25:01 +0100
commit4b9f336a62cd4992956a68c8a17764a3f768b3f1 (patch)
tree1cefb10ba2e3cee928bd48320ca690769bda58eb /source3/utils/net_groupmap.c
parentc224118ffe8ff0ee9799e80c98cfedfcb266ced5 (diff)
downloadsamba-4b9f336a62cd4992956a68c8a17764a3f768b3f1.tar.gz
samba-4b9f336a62cd4992956a68c8a17764a3f768b3f1.tar.bz2
samba-4b9f336a62cd4992956a68c8a17764a3f768b3f1.zip
Move param helper routines to one place.
Guenther (This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
Diffstat (limited to 'source3/utils/net_groupmap.c')
-rw-r--r--source3/utils/net_groupmap.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index d2ed696eb1..8aead50b9f 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -24,37 +24,6 @@
#include "includes.h"
#include "utils/net.h"
-
-/*********************************************************
- utility function to parse an integer parameter from
- "parameter = value"
-**********************************************************/
-static uint32 get_int_param( const char* param )
-{
- char *p;
-
- p = strchr( param, '=' );
- if ( !p )
- return 0;
-
- return atoi(p+1);
-}
-
-/*********************************************************
- utility function to parse an integer parameter from
- "parameter = value"
-**********************************************************/
-static char* get_string_param( const char* param )
-{
- char *p;
-
- p = strchr( param, '=' );
- if ( !p )
- return NULL;
-
- return (p+1);
-}
-
/*********************************************************
Figure out if the input was an NT group or a SID string.
Return the SID.