diff --git a/capifax/c20msg.c b/capifax/c20msg.c index 9ecd5fa1..ac623ae2 100644 --- a/capifax/c20msg.c +++ b/capifax/c20msg.c @@ -1,10 +1,29 @@ -/* +/* $Id: c20msg.c,v 1.2 1998/10/23 12:50:44 fritz Exp $ + * + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * * Decode_Info: Returns a string with an error description * Note: infos with values of 0x00xx are only warnings and the corresponding * messages have been processed. * The description for all info values but 0x34xx is taken from the CAPI 2.0 * specification february 1994. * The description for the 0x34xx values is taken from ETS 300 102-1/Q.931 + * + * $Log: c20msg.c,v $ + * Revision 1.2 1998/10/23 12:50:44 fritz + * Added RCS keywords and GPL notice. + * */ char *Decode_Info (unsigned int Info) { switch (Info) { diff --git a/capifax/c20msg.h b/capifax/c20msg.h index 61550938..3cb2d711 100644 --- a/capifax/c20msg.h +++ b/capifax/c20msg.h @@ -1,14 +1,33 @@ -#ifndef _c20msg_h_ -#define _c20msg_h_ - -/* +/* $Id: c20msg.h,v 1.2 1998/10/23 12:50:45 fritz Exp $ + * + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * * Decode_Info: Returns a string with an error description * Note: infos with values of 0x00xx are only warnings and the corresponding * messages have been processed. * The description for all info values but 0x34xx is taken from the CAPI 2.0 * specification february 1994. * The description for the 0x34xx values is taken from ETS 300 102-1/Q.931 + * + * $Log: c20msg.h,v $ + * Revision 1.2 1998/10/23 12:50:45 fritz + * Added RCS keywords and GPL notice. + * */ +#ifndef _c20msg_h_ +#define _c20msg_h_ + char *Decode_Info(unsigned int Info); /* diff --git a/capifax/capi.c b/capifax/capi.c index 871a6d2b..9c262eb7 100644 --- a/capifax/capi.c +++ b/capifax/capi.c @@ -1,9 +1,25 @@ -/* +/* $Id: capi.c,v 1.2 1998/10/23 12:50:46 fritz Exp $ + * * Implementation of CAPI state machine * * Based heavily on * CAPI.C Version 1.1 by AVM * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: capi.c,v $ + * Revision 1.2 1998/10/23 12:50:46 fritz + * Added RCS keywords and GPL notice. + * */ #include #include diff --git a/capifax/capi.h b/capifax/capi.h index f5032c1c..6352626e 100644 --- a/capifax/capi.h +++ b/capifax/capi.h @@ -1,3 +1,23 @@ +/* $Id: capi.h,v 1.2 1998/10/23 12:50:47 fritz Exp $ + * + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: capi.h,v $ + * Revision 1.2 1998/10/23 12:50:47 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _capi_h_ #define _capi_h_ diff --git a/capifax/capifax.c b/capifax/capifax.c index 43220de5..6b912558 100644 --- a/capifax/capifax.c +++ b/capifax/capifax.c @@ -1,3 +1,24 @@ +/* $Id: capifax.c,v 1.2 1998/10/23 12:50:47 fritz Exp $ + * + * A FAX send application for CAPI. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: capifax.c,v $ + * Revision 1.2 1998/10/23 12:50:47 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/capifaxrcvd.c b/capifax/capifaxrcvd.c index 6e0db565..621168ba 100644 --- a/capifax/capifaxrcvd.c +++ b/capifax/capifaxrcvd.c @@ -1,3 +1,24 @@ +/* $Id: capifaxrcvd.c,v 1.2 1998/10/23 12:50:48 fritz Exp $ + * + * A FAX receive daemon for CAPI. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: capifaxrcvd.c,v $ + * Revision 1.2 1998/10/23 12:50:48 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/connect.c b/capifax/connect.c index 22adcd0e..a98187f5 100644 --- a/capifax/connect.c +++ b/capifax/connect.c @@ -1,10 +1,24 @@ -/*--------------------------------------------------------------------------*\ - - CONNECT.C Version 1.1 1995 AVM - - Functions concerning activation and deactivation of connections - -\*--------------------------------------------------------------------------*/ +/* $Id: connect.c,v 1.2 1998/10/23 12:50:49 fritz Exp $ + * + * Functions concerning activation and deactivation of connections + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: connect.c,v $ + * Revision 1.2 1998/10/23 12:50:49 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/connect.h b/capifax/connect.h index c7c1cddb..5a97be73 100644 --- a/capifax/connect.h +++ b/capifax/connect.h @@ -1,3 +1,24 @@ +/* $Id: connect.h,v 1.2 1998/10/23 12:50:50 fritz Exp $ + * + * Functions concerning activation and deactivation of connections + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: connect.h,v $ + * Revision 1.2 1998/10/23 12:50:50 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _connect_h_ #define _connect_h_ diff --git a/capifax/contr.c b/capifax/contr.c index b5b0adb4..4dc05952 100644 --- a/capifax/contr.c +++ b/capifax/contr.c @@ -1,3 +1,24 @@ +/* $Id: contr.c,v 1.2 1998/10/23 12:50:51 fritz Exp $ + * + * Functions for dealing with controllers. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: contr.c,v $ + * Revision 1.2 1998/10/23 12:50:51 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/contr.h b/capifax/contr.h index 4c97f856..f5cc189b 100644 --- a/capifax/contr.h +++ b/capifax/contr.h @@ -1,3 +1,24 @@ +/* $Id: contr.h,v 1.2 1998/10/23 12:50:52 fritz Exp $ + * + * Functions for dealing with controllers. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: contr.h,v $ + * Revision 1.2 1998/10/23 12:50:52 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _contr_h_ #define _contr_h_ diff --git a/capifax/data.c b/capifax/data.c index d7cec390..c3ea6c02 100644 --- a/capifax/data.c +++ b/capifax/data.c @@ -1,3 +1,24 @@ +/* $Id: data.c,v 1.2 1998/10/23 12:50:52 fritz Exp $ + * + * Functions for dealing user data. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: data.c,v $ + * Revision 1.2 1998/10/23 12:50:52 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/data.h b/capifax/data.h index 9ac5c7a5..8dda2a07 100644 --- a/capifax/data.h +++ b/capifax/data.h @@ -1,3 +1,24 @@ +/* $Id: data.h,v 1.2 1998/10/23 12:50:53 fritz Exp $ + * + * Functions for dealing user data. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: data.h,v $ + * Revision 1.2 1998/10/23 12:50:53 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _data_h_ #define _data_h_ diff --git a/capifax/fax.c b/capifax/fax.c index ac1db33f..a268a2cd 100644 --- a/capifax/fax.c +++ b/capifax/fax.c @@ -1,9 +1,30 @@ +/* $Id: fax.c,v 1.2 1998/10/23 12:50:54 fritz Exp $ + * + * Setup B3 for FAX. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: fax.c,v $ + * Revision 1.2 1998/10/23 12:50:54 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include "fax.h" char *stationID = "00000000"; -char *headLine = "Unconfigured Cobalt FAXServer"; +char *headLine = "Unconfigured Linux FAXServer"; void SetupB3Config(B3_PROTO_FAXG3 *B3conf, int FAX_Format) { int len1; diff --git a/capifax/fax.h b/capifax/fax.h index 0a5b24fa..a52ff047 100644 --- a/capifax/fax.h +++ b/capifax/fax.h @@ -1,3 +1,24 @@ +/* $Id: fax.h,v 1.2 1998/10/23 12:50:54 fritz Exp $ + * + * Setup B3 for FAX. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: fax.h,v $ + * Revision 1.2 1998/10/23 12:50:54 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _fax_h_ #define _fax_h_ diff --git a/capifax/id.c b/capifax/id.c index b83f88f8..1a8d3e68 100644 --- a/capifax/id.c +++ b/capifax/id.c @@ -1,3 +1,24 @@ +/* $Id: id.c,v 1.2 1998/10/23 12:50:55 fritz Exp $ + * + * Connection-ID management. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: id.c,v $ + * Revision 1.2 1998/10/23 12:50:55 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/id.h b/capifax/id.h index 4555412d..bd92acc6 100644 --- a/capifax/id.h +++ b/capifax/id.h @@ -1,3 +1,24 @@ +/* $Id: id.h,v 1.2 1998/10/23 12:50:56 fritz Exp $ + * + * Connection-ID management. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: id.h,v $ + * Revision 1.2 1998/10/23 12:50:56 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _id_h_ #define _id_h_ diff --git a/capifax/init.c b/capifax/init.c index 4bbbb425..e602d1df 100644 --- a/capifax/init.c +++ b/capifax/init.c @@ -1,3 +1,24 @@ +/* $Id: init.c,v 1.2 1998/10/23 12:50:57 fritz Exp $ + * + * CAPI registration/deregistration. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: init.c,v $ + * Revision 1.2 1998/10/23 12:50:57 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include diff --git a/capifax/init.h b/capifax/init.h index 195b4549..74f5f7ca 100644 --- a/capifax/init.h +++ b/capifax/init.h @@ -1,3 +1,24 @@ +/* $Id: init.h,v 1.2 1998/10/23 12:50:58 fritz Exp $ + * + * CAPI registration/deregistration. + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: init.h,v $ + * Revision 1.2 1998/10/23 12:50:58 fritz + * Added RCS keywords and GPL notice. + * + */ #ifndef _init_h_ #define _init_h_ diff --git a/capifax/msg.c b/capifax/msg.c index 305cbdc6..186e7a49 100644 --- a/capifax/msg.c +++ b/capifax/msg.c @@ -1,3 +1,24 @@ +/* $Id: msg.c,v 1.2 1998/10/23 12:50:58 fritz Exp $ + * + * CAPI message logging (mainly for debugging). + * This stuff is based heavily on AVM's CAPI-adk for linux. + * + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Log: msg.c,v $ + * Revision 1.2 1998/10/23 12:50:58 fritz + * Added RCS keywords and GPL notice. + * + */ #include #include #include