#include <k5-int.h>
#include <errno.h>
#include <stdlib.h>
+#include "tcl_kadm5.h"
struct flagval {
char *name;
}
-int tcl_kadm5_rename_principal(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_rename_principal(ClientData clientData,
+ Tcl_Interp *interp,
+ int argc, char *argv[])
{
krb5_principal source, target;
krb5_error_code krb5_ret;
-int tcl_kadm5_chpass_principal(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_chpass_principal(ClientData clientData,
+ Tcl_Interp *interp,
+ int argc, char *argv[])
{
krb5_principal princ;
char *pw;
-int tcl_kadm5_chpass_principal_util(ClientData clientData,
- Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_chpass_principal_util(ClientData clientData,
+ Tcl_Interp *interp,
+ int argc, char *argv[])
{
krb5_principal princ;
char *new_pw;
-int tcl_kadm5_randkey_principal(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_randkey_principal(ClientData clientData,
+ Tcl_Interp *interp,
+ int argc, char *argv[])
{
krb5_principal princ;
krb5_keyblock *keyblocks;
-int tcl_kadm5_get_principal(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_get_principal(ClientData clientData, Tcl_Interp *interp,
+ int argc, char *argv[])
{
krb5_principal princ;
kadm5_principal_ent_rec ent;
return retcode;
}
-int tcl_kadm5_create_policy(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_create_policy(ClientData clientData, Tcl_Interp *interp,
+ int argc, char *argv[])
{
int tcl_ret;
kadm5_ret_t ret;
-int tcl_kadm5_delete_policy(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_delete_policy(ClientData clientData, Tcl_Interp *interp,
+ int argc, char *argv[])
{
kadm5_ret_t ret;
char *policy;
-int tcl_kadm5_modify_policy(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_modify_policy(ClientData clientData, Tcl_Interp *interp,
+ int argc, char *argv[])
{
char *policy_string;
kadm5_policy_ent_t policy = 0;
}
-int tcl_kadm5_get_policy(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_get_policy(ClientData clientData, Tcl_Interp *interp,
+ int argc, char *argv[])
{
kadm5_policy_ent_rec ent;
Tcl_DString *ent_dstring = 0;
-int tcl_kadm5_free_principal_ent(ClientData clientData,
- Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_free_principal_ent(ClientData clientData,
+ Tcl_Interp *interp,
+ int argc, char *argv[])
{
char *ent_name;
kadm5_principal_ent_t ent;
}
-int tcl_kadm5_free_policy_ent(ClientData clientData,
- Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_free_policy_ent(ClientData clientData,
+ Tcl_Interp *interp,
+ int argc, char *argv[])
{
char *ent_name;
kadm5_policy_ent_t ent;
}
-int tcl_kadm5_get_privs(ClientData clientData, Tcl_Interp *interp,
- int argc, char *argv[])
+static int tcl_kadm5_get_privs(ClientData clientData, Tcl_Interp *interp,
+ int argc, char *argv[])
{
int tcl_ret;
char *set_ret;