]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/buffer.h
Removes trailing spaces. Removes tabs.
[vlc] / modules / access / mms / buffer.h
index 8f23a0ab37646346005f3bc215a035f6181c15c3..f17a2aede7c9dbec4d2a84c91ac9f2447419c375 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * buffer.h: MMS access plug-in
  *****************************************************************************
- * Copyright (C) 2001, 2002 VideoLAN
- * $Id: buffer.h,v 1.2 2002/11/25 00:22:04 fenrir Exp $
+ * Copyright (C) 2001, 2002 the VideoLAN team
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -10,7 +10,7 @@
  * 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
  *
  * 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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-typedef struct var_buffer_s
+typedef struct
 {
     uint8_t *p_data;    // pointer on data
     int     i_data;     // number of bytes set in p_data
@@ -32,7 +32,7 @@ typedef struct var_buffer_s
 
 
 /*****************************************************************************
- * Macro/Function to create/manipulate buffer 
+ * Macro/Function to create/manipulate buffer
  *****************************************************************************/
 int  var_buffer_initwrite( var_buffer_t *p_buf, int i_default_size );
 int  var_buffer_reinitwrite( var_buffer_t *p_buf, int i_default_size );
@@ -41,7 +41,7 @@ void var_buffer_add16( var_buffer_t *p_buf, uint16_t i_word );
 void var_buffer_add32( var_buffer_t *p_buf, uint32_t i_word );
 void var_buffer_add64( var_buffer_t *p_buf, uint64_t i_word );
 void var_buffer_addmemory( var_buffer_t *p_buf, void *p_mem, int i_mem );
-void var_buffer_addUTF16( var_buffer_t *p_buf, char *p_str );
+void var_buffer_addUTF16( var_buffer_t *p_buf, const char *p_str );
 void var_buffer_free( var_buffer_t *p_buf );