#ifndef _DEFINES_ #define _DEFINES_ #include "../config.h" /* * Gettext */ #include #define _(String) gettext (String) #define N_(String) (String) /* * Gettext */ #define OPTIONS_DIR "/etc/ppp/peers/" #define CHAT_DIR "/etc/chatscripts/" #define PAP_SECRETS "/etc/ppp/pap-secrets" #define CHAP_SECRETS "/etc/ppp/chap-secrets" #define UPCMD "/usr/bin/pon " #define DOWNCMD "/usr/bin/poff" #define PEERS_DIR "/etc/ppp/peers" #define LOCK_DEFAULT "/var/lock/LCK..modem" /* * Connection status */ enum { CONNECTED, DISCONNECTED, CONNECTING, DISCONNECTING }; /* * for use with handling the pixmap */ #define PIX_ON 1 #define PIX_WAITING 2 #define PIX_OFF 3 #define MODEM_DEFAULT "/dev/modem" /* * timeouts for the gtk_timeouts set */ #define CHK_TIMEOUT 1000 /* check_connection */ #define CNT_TIMEOUT 47000 /* connecting_check */ #define DEBUG 0 #endif