X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fnetwork.h;h=f1fdc1b7bb1bfa9d0c1dd56b919eb2d831b6586b;hb=e7ab42f84cca40feb87898e461b2e04df76484ed;hp=286b4dd1e86715b5ce07d424383ba9cc4a1fc2c9;hpb=f632254f9384f66e66f36857d99dd0669bc251db;p=dockapps%2Fwmnotify.git diff --git a/src/network.h b/src/network.h index 286b4dd..f1fdc1b 100644 --- a/src/network.h +++ b/src/network.h @@ -1,4 +1,22 @@ -/* network.h */ +/* + * network.h + * + * Copyright (C) 2003 Hugo Villeneuve + * + * 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 of the License, 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + */ #ifndef NETWORK_H #define NETWORK_H 1 @@ -12,12 +30,10 @@ #include #include - /* POP3 responses may be up to 512 characters long, including the terminating CRLF. IMAP4 responses can be more than 1024 characters. */ #define WMNOTIFY_BUFSIZE 10240 - int SocketOpen( char *server_name, int port ); @@ -33,5 +49,4 @@ WmnotifySendData( char *buffer, int size ); int WmnotifyGetResponse( char *buffer, int max_size ); - #endif /* NETWORK_H */