Deleted Added
full compact
print.c (87867) print.c (281550)
1/*
2 * Copyright (c) 2000, Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 40 unchanged lines hidden (view full) ---

49/*#include <netnb/netbios.h>*/
50
51#include <netsmb/smb_lib.h>
52#include <netsmb/smb_conn.h>
53#include <cflib.h>
54
55int
56smb_smb_open_print_file(struct smb_ctx *ctx, int setuplen, int mode,
1/*
2 * Copyright (c) 2000, Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 40 unchanged lines hidden (view full) ---

49/*#include <netnb/netbios.h>*/
50
51#include <netsmb/smb_lib.h>
52#include <netsmb/smb_conn.h>
53#include <cflib.h>
54
55int
56smb_smb_open_print_file(struct smb_ctx *ctx, int setuplen, int mode,
57 const char *ident, smbfh *fhp)
57 char *ident, smbfh *fhp)
58{
59 struct smb_rq *rqp;
60 struct mbdata *mbp;
61 int error;
62
63 error = smb_rq_init(ctx, SMB_COM_OPEN_PRINT_FILE, 2, &rqp);
64 if (error)
65 return error;

--- 32 unchanged lines hidden ---
58{
59 struct smb_rq *rqp;
60 struct mbdata *mbp;
61 int error;
62
63 error = smb_rq_init(ctx, SMB_COM_OPEN_PRINT_FILE, 2, &rqp);
64 if (error)
65 return error;

--- 32 unchanged lines hidden ---