llinstantmessage.cpp File Reference

Constants and functions used in IM. More...

#include "linden_common.h"
#include "lldbstrings.h"
#include "llinstantmessage.h"
#include "llhost.h"
#include "lluuid.h"
#include "llsd.h"
#include "llsdserialize.h"
#include "llsdutil.h"
#include "llmemory.h"
#include "message.h"

Include dependency graph for llinstantmessage.cpp:

Go to the source code of this file.

Functions

void pack_instant_message (LLMessageSystem *msg, const LLUUID &from_id, BOOL from_group, const LLUUID &session_id, const LLUUID &to_id, const char *name, const char *message, U8 offline, EInstantMessage dialog, const LLUUID &id, U32 parent_estate_id, const LLUUID &region_id, const LLVector3 &position, U32 timestamp, const U8 *binary_bucket, S32 binary_bucket_size)
void pack_instant_message_block (LLMessageSystem *msg, const LLUUID &from_id, BOOL from_group, const LLUUID &session_id, const LLUUID &to_id, const char *name, const char *message, U8 offline, EInstantMessage dialog, const LLUUID &id, U32 parent_estate_id, const LLUUID &region_id, const LLVector3 &position, U32 timestamp, const U8 *binary_bucket, S32 binary_bucket_size)
LLSD im_info_to_llsd (LLPointer< LLIMInfo > im_info)
LLPointer< LLIMInfollsd_to_im_info (const LLSD &im_info_sd)

Variables

const U8 IM_ONLINE = 0
const U8 IM_OFFLINE = 1
const S32 VOTE_YES = 1
const S32 VOTE_NO = 0
const S32 VOTE_ABSTAIN = -1
const S32 VOTE_MAJORITY = 0
const S32 VOTE_SUPER_MAJORITY = 1
const S32 VOTE_UNANIMOUS = 2
const char EMPTY_BINARY_BUCKET [] = ""
const S32 EMPTY_BINARY_BUCKET_SIZE = 1
const U32 NO_TIMESTAMP = 0
const char SYSTEM_FROM [] = "Second Life"
const S32 IM_TTL = 1


Detailed Description

Constants and functions used in IM.

Author:
Phoenix
Date:
2005-08-29
LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llinstantmessage.cpp.


Function Documentation

LLSD im_info_to_llsd ( LLPointer< LLIMInfo im_info  ) 

Definition at line 317 of file llinstantmessage.cpp.

References ll_sd_from_vector3(), and S32.

Here is the call graph for this function:

LLPointer<LLIMInfo> llsd_to_im_info ( const LLSD im_info_sd  ) 

Definition at line 349 of file llinstantmessage.cpp.

References LLSD::asInteger(), LLSD::asUUID(), ll_vector3_from_sd(), and LLIMInfo::LLIMInfo().

Here is the call graph for this function:

void pack_instant_message ( LLMessageSystem msg,
const LLUUID from_id,
BOOL  from_group,
const LLUUID session_id,
const LLUUID to_id,
const char *  name,
const char *  message,
U8  offline,
EInstantMessage  dialog,
const LLUUID id,
U32  parent_estate_id,
const LLUUID region_id,
const LLVector3 position,
U32  timestamp,
const U8 binary_bucket,
S32  binary_bucket_size 
)

void pack_instant_message_block ( LLMessageSystem msg,
const LLUUID from_id,
BOOL  from_group,
const LLUUID session_id,
const LLUUID to_id,
const char *  name,
const char *  message,
U8  offline,
EInstantMessage  dialog,
const LLUUID id,
U32  parent_estate_id,
const LLUUID region_id,
const LLVector3 position,
U32  timestamp,
const U8 binary_bucket,
S32  binary_bucket_size 
)


Variable Documentation

const char EMPTY_BINARY_BUCKET[] = ""

const U8 IM_OFFLINE = 1

const U8 IM_ONLINE = 0

const S32 IM_TTL = 1

Definition at line 63 of file llinstantmessage.cpp.

const U32 NO_TIMESTAMP = 0

const char SYSTEM_FROM[] = "Second Life"

const S32 VOTE_ABSTAIN = -1

Definition at line 53 of file llinstantmessage.cpp.

const S32 VOTE_MAJORITY = 0

Definition at line 55 of file llinstantmessage.cpp.

const S32 VOTE_NO = 0

Definition at line 52 of file llinstantmessage.cpp.

Definition at line 56 of file llinstantmessage.cpp.

const S32 VOTE_UNANIMOUS = 2

Definition at line 57 of file llinstantmessage.cpp.

const S32 VOTE_YES = 1

Definition at line 51 of file llinstantmessage.cpp.


Generated on Fri May 16 08:35:24 2008 for SecondLife by  doxygen 1.5.5