summaryrefslogtreecommitdiff
path: root/util/iuser.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:42:54 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:42:54 +0200
commita8f1f2fbd1fe78c185b5c320c11d0265b49f8668 (patch)
tree869216c945841ed46e2ca4b69af46f54a738d3cd /util/iuser.c
parent42de6cdd540e080b6e34e5e27cb8c44151711010 (diff)
parentc0cffd791bfaffaad631076141fcdfc000adcac1 (diff)
Merge tag 'upstream/3.0.4'
Upstream version 3.0.4
Diffstat (limited to 'util/iuser.c')
-rw-r--r--util/iuser.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/iuser.c b/util/iuser.c
index 7cbe661..e6a7b29 100644
--- a/util/iuser.c
+++ b/util/iuser.c
@@ -57,7 +57,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* global variables */
static char * progname = "iuser";
-static char * progver = "3.03";
+static char * progver = "3.04";
static char fdebug = 0;
static char fcanonical = 0;
static char bdelim = '|';
@@ -69,10 +69,12 @@ extern int verbose; /*see ipmilanplus.c*/
extern void lprintf(int level, const char * format, ...); /*ipmilanplus.c*/
-int GetUserInfo(uchar unum, uchar chan, uchar *enab, uchar *priv, char *uname, char fdebug);
+/* from ilan.c */
+char *parse_priv(uchar c);
+int DisableUser (int unum, uchar chan);
int SetPasswd(int unum, char *uname, char *upswd, uchar chan, uchar priv);
int GetBmcEthDevice(uchar lan_parm, uchar *pchan);
-char *parse_priv(uchar c);
+int GetUserInfo(uchar unum, uchar chan, uchar *enab, uchar *priv, char *uname, char fdebug);
static void printf_user_usage(void)
{