Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F399184
wstring.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
wstring.h
View Options
/*
wstring.h
diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2003-2012 Gil Dabah
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 3 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, see <http://www.gnu.org/licenses/>
*/
#ifndef WSTRING_H
#define WSTRING_H
#include
"config.h"
#ifndef DISTORM_LIGHT
void
strclear_WS
(
_WString
*
s
);
void
chrcat_WS
(
_WString
*
s
,
uint8_t
ch
);
void
strcpylen_WS
(
_WString
*
s
,
const
int8_t
*
buf
,
unsigned
int
len
);
void
strcatlen_WS
(
_WString
*
s
,
const
int8_t
*
buf
,
unsigned
int
len
);
void
strcat_WS
(
_WString
*
s
,
const
_WString
*
s2
);
/*
* Warning, this macro should be used only when the compiler knows the size of string in advance!
* This macro is used in order to spare the call to strlen when the strings are known already.
* Note: sizeof includes NULL terminated character.
*/
#define strcat_WSN(s, t) strcatlen_WS((s), ((const int8_t*)t), sizeof((t))-1)
#define strcpy_WSN(s, t) strcpylen_WS((s), ((const int8_t*)t), sizeof((t))-1)
#endif
/* DISTORM_LIGHT */
#endif
/* WSTRING_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Oct 9, 7:24 AM (8 h, 40 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
86/4f/3abe7d23d2294debab9ce75c279b
Attached To
rSCY Scylla
Event Timeline
Log In to Comment