Lines Matching defs:ports
7214 PORT_INFO_1 *ports=NULL;
7243 if((ports=SMB_MALLOC_ARRAY( PORT_INFO_1, numlines )) == NULL) {
7252 fill_port_1(&ports[i], qlines[i]);
7263 if((ports=SMB_MALLOC_P(PORT_INFO_1)) == NULL)
7268 fill_port_1(&ports[0], SAMBA_PRINTER_PORT_NAME);
7274 *needed += spoolss_size_port_info_1(&ports[i]);
7278 SAFE_FREE(ports);
7282 /* fill the buffer with the ports structures */
7285 smb_io_port_1("", buffer, &ports[i], 0);
7288 SAFE_FREE(ports);
7304 PORT_INFO_2 *ports=NULL;
7342 if((ports=SMB_MALLOC_ARRAY( PORT_INFO_2, numlines)) == NULL) {
7349 fill_port_2(&(ports[i]), qlines[i]);
7361 if((ports=SMB_MALLOC_P(PORT_INFO_2)) == NULL)
7366 fill_port_2(&ports[0], SAMBA_PRINTER_PORT_NAME);
7372 *needed += spoolss_size_port_info_2(&ports[i]);
7376 SAFE_FREE(ports);
7380 /* fill the buffer with the ports structures */
7383 smb_io_port_2("", buffer, &ports[i], 0);
7386 SAFE_FREE(ports);