Home
last modified time | relevance | path

Searched refs:spfile (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dspoolss_svc.c287 smb_spooldoc_t *spfile; in spoolss_s_StartDocPrinter() local
312 if ((spfile = calloc(1, sizeof (smb_spooldoc_t))) == NULL) { in spoolss_s_StartDocPrinter()
318 (void) strlcpy(spfile->sd_doc_name, in spoolss_s_StartDocPrinter()
321 (void) strlcpy(spfile->sd_doc_name, "document", MAXNAMELEN); in spoolss_s_StartDocPrinter()
324 (void) strlcpy(spfile->sd_printer_name, in spoolss_s_StartDocPrinter()
327 (void) strlcpy(spfile->sd_printer_name, "printer", MAXPATHLEN); in spoolss_s_StartDocPrinter()
329 spfile->sd_ipaddr = mxa->pipe->np_user->ui_ipaddr; in spoolss_s_StartDocPrinter()
330 (void) strlcpy((char *)spfile->sd_username, in spoolss_s_StartDocPrinter()
332 (void) memcpy(&spfile->sd_handle, &param->handle, sizeof (ndr_hdid_t)); in spoolss_s_StartDocPrinter()
338 spfile->sd_username, spoolss_cnt); in spoolss_s_StartDocPrinter()
[all …]