File/plugins/attachment_tnef/functions.php

Description

Support functions

Copyright (c) 2002-2003 Bernd Wiegmann <bernd@wib-software.de> Graham Norbury <gnorbury@bondcar.com> Copyright (c) 2008 The NaSMail Project This file is part of NaSMail attachment_tnef plugin.

This plugin 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 plugin 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 plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: functions.php 1173 2008-02-23 18:21:11Z tokul $
Functions
attachment_tnef_link_do (line 64)

Creates links for application/ms-tnef attachments

void attachment_tnef_link_do (array &$Args)
  • array &$Args: Attachment hook arguments
ext_to_mime (line 34)

Maps extension to mime type

string ext_to_mime (string $extension)
  • string $extension
show_mapi_attribute (line 252)
void show_mapi_attribute ( $attr_type,  $attr_name,  $value,  $length)
  • $attr_type
  • $attr_name
  • $value
  • $length
show_tnef_attribute (line 143)
void show_tnef_attribute ( $attribute,  $value,  $length)
  • $attribute
  • $value
  • $length
tnef_geti8 (line 102)
void tnef_geti8 ( &$buf)
  • &$buf
tnef_geti16 (line 114)
void tnef_geti16 ( &$buf)
  • &$buf
tnef_geti32 (line 127)
void tnef_geti32 ( &$buf)
  • &$buf
tnef_getx (line 90)
void tnef_getx ( $size,  &$buf)
  • $size
  • &$buf
tnef_log (line 55)

Just a little helper for $tnef_debug == 1 Will not create any output in production environment.

void tnef_log (string $string)
  • string $string: Debug message

Documentation generated on Sun, 22 Nov 2009 17:36:31 +0200 by phpDocumentor 1.4.3