Displaying 1 result from an estimated 1 matches for "lpswitchd".
Did you mean:
lpswitch
2005 Feb 20
0
Re: Asterisk-Users Digest, Vol 7, Issue 260
...eraw( &port_config );
port_config.c_iflag=port_config.c_iflag|IXON;
port_config.c_oflag=port_config.c_oflag|CLOCAL|~CRTSCTS;
tcsetattr( fd, TCSANOW, &port_config );
ioctl(fd, TIOCMSET, &set_bits );
sleep(5);
close(fd);
}
/* lpswitch.h
* include file for lpswitchd configuration
* (c) 1994, David Cook <davidc@advan.ca>
*/
#include<termios.h>
#define FILTERDEUG 0 /* filter app debug */
#define DAEMONDEBUG 0 /* daemon app debug */
#define VERSION "0.6" /* appl version number*/
#define LOCKF "/var/run/lpswitchd.pid"...