use stdio.h
commands.c: use stdio, string, unistd; fix return values
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4132
dc483132-0cff-0310-8789-
dd5450dbe970
unsigned char *data;
int cnt;
{
- Authenticator *ap;
unsigned char savename[256];
if (cnt < 1) {
struct hostent *hp;
krb5_address **addrs;
krb5_error_code retval;
- krb5_data *scratch;
krb5_kdc_rep *dec_rep;
krb5_error *err_reply;
krb5_response tgsrep;
krb5_ticket *ticket;
char *lusername;
{
- krb5_encrypt_block eblock;
krb5_creds creds;
krb5_error_code retval;
char ccname[35];
isprefix(s1, s2)
register char *s1, *s2;
{
- register int n = 0;
char *os1;
register char c1, c2;
kerberos5_send(ap)
Authenticator *ap;
{
- char **realms;
- char *name;
- char *p1, *p2;
krb5_checksum ksum;
krb5_octet sum[CRC32_CKSUM_LENGTH];
- krb5_principal server;
krb5_error_code r;
krb5_ccache ccache;
krb5_creds creds; /* telnet gets session key from here */
int cnt;
{
int r;
- struct hostent *hp;
- char *p1, *p2;
- static char *realm = NULL;
krb5_principal server;
krb5_ap_rep_enc_part reply;
krb5_data outbuf;
kerberos5_forward(ap)
Authenticator *ap;
{
- struct hostent *hp;
krb5_creds *local_creds;
krb5_error_code r;
krb5_data forw_creds;
extern krb5_cksumtype krb5_kdc_req_sumtype;
krb5_ccache ccache;
- int i;
if (!(local_creds = (krb5_creds *)
calloc(1, sizeof(*local_creds)))) {
#endif /* not lint */
#include "misc.h"
+#include <stdio.h>
char *RemoteHostName;
char *LocalHostName;