File: implicit-function-declaration.patch

package info (click to toggle)
libauthen-smb-perl 0.91-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 452 kB
  • sloc: ansic: 2,746; perl: 48; makefile: 3
file content (49 lines) | stat: -rw-r--r-- 1,291 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: declare functions before use
Origin: vendor
Bug-Debian: https://bugs.debian.org/1065995
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2024-03-14

--- a/smbval/smblib.c
+++ b/smbval/smblib.c
@@ -35,11 +35,17 @@
 #include "smblib-priv.h"
 
 #include "rfcnb.h"
+int RFCNB_Free_Pkt(struct RFCNB_Pkt *pkt);
+int RFCNB_Set_Sock_NoDelay(struct RFCNB_Con *con_Handle, BOOL yn);
 
 #include <signal.h>
 
 SMB_State_Types SMBlib_State;
 
+int SMB_Negotiate(void *Con_Handle, char *Prots[]);
+void SMBencrypt(uchar *passwd, uchar *c8, uchar *p24);
+void SMB_Get_My_Name(char *name, int len);
+
 /* Initialize the SMBlib package     */
 
 int SMB_Init()
--- a/smbval/valid.c
+++ b/smbval/valid.c
@@ -6,6 +6,10 @@
 
 SMB_Handle_Type SMB_Connect_Server(void *, char *, char *);
 
+int SMB_Init(void);
+int SMB_Negotiate(void *Con_Handle, char *Prots[]);
+int SMB_Discon(void *Con, BOOL KeepHandle);
+int SMB_Logon_Server(SMB_Handle_Type Con_Handle, char *UserName, char *PassWord);
 int Valid_User(char *USERNAME,char *PASSWORD,char *SERVER,char *BACKUP, char *DOMAIN)
 {
   char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0",
--- a/Smb.xs
+++ b/Smb.xs
@@ -4,6 +4,7 @@
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
+#include "smbval/valid.h"
 #ifdef __cplusplus
 }
 #endif