updates.
[silc.git] / lib / silccore / silcauth.h
index 008f727a0d9083a98942986760b239b5d9dc690a..a42c60fc902462dd8a391d6a4a2dbbe255b5a3b4 100644 (file)
@@ -1,24 +1,24 @@
-/****h* silccore/silcauth.h
- *
- * NAME
- *
- * silcauth.h
- *
- * COPYRIGHT
- *
- * Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
- *
- * Copyright (C) 2001 Pekka Riikonen
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+/*
+
+  silcauth.h
+  Author: Pekka Riikonen <priikone@silcnet.org>
+  Copyright (C) 2001 Pekka Riikonen
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+*/
+
+/****h* silccore/SilcAuthAPI
  *
  * DESCRIPTION
  *
@@ -42,7 +42,8 @@
  *
  * NAME
  * 
- *    typedef struct SilcAuthPayloadStruct *SilcAuthPayload;
+ *    typedef struct SilcAuthPayloadStruct *SilcAuthPayload; 
+ *
  *
  * DESCRIPTION
  *
@@ -313,7 +314,7 @@ SilcKeyAgreementPayload silc_key_agreement_payload_parse(SilcBuffer buffer);
  *    Encodes the Key Agreement protocol and returns the encoded buffer
  *
  ***/
-SilcBuffer silc_key_agreement_payload_encode(char *hostname,
+SilcBuffer silc_key_agreement_payload_encode(const char *hostname,
                                             uint32 port);
 
 /****f* silccore/SilcAuthAPI/silc_key_agreement_payload_free