blueZync

Synchronize Bluetooth phone with Thunderbird

Develpers' detailed documentation for the mozilla-sync plugin for OpenSync. A part of blueZync.

mozilla-utils.h File Reference


Detailed Description

A few utility functions for XPCOM and mozilla (header).

#include "mozilla-headers.h"

Include dependency graph for mozilla-utils.h:

This graph shows which files directly or indirectly include this file:


Functions

NS_COM_GLUE PRUnichar * NS_strdup (const PRUnichar *aString)
NS_COM_GLUE PRUint32 NS_strlen (const PRUnichar *aString)
NS_COM_GLUE PRUnichar * NS_strndup (const PRUnichar *aString, PRUint32 aLen)

Function Documentation

NS_COM_GLUE PRUnichar* NS_strdup ( const PRUnichar *  aString  ) 

"strdup" for PRUnichar strings, uses the NS_Alloc allocator.

References NS_strlen(), and NS_strndup().

Referenced by ThunderbirdCard::GetKey(), and ThunderbirdCard::UpdateFromXML().

Here is the call graph for this function:

NS_COM_GLUE PRUint32 NS_strlen ( const PRUnichar *  aString  ) 

"strlen" for PRUnichar strings

Referenced by NS_strdup(), and ThunderbirdCard::UpdateFromXML().

NS_COM_GLUE PRUnichar* NS_strndup ( const PRUnichar *  aString,
PRUint32  aLen 
)

strndup for PRUnichar strings... this function will ensure that the new string is null-terminated. Uses the NS_Alloc allocator.

Referenced by NS_strdup().