This website works better with JavaScript.
Home
Help
Register
Sign In
htgoebel
/
pEpPythonAdapter
forked from
pEp.foundation/pEpPythonAdapter
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
adding attaching constructor
AllGroupDevicesShowHandshake
Volker Birk
6 years ago
parent
40e4fc50f2
commit
bb9b2210d7
2 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/message.cc
+1
-0
src/message.hh
+ 6
- 0
src/message.cc
View File
@ -28,6 +28,12 @@ namespace pEp {
_filename
=
second
.
_filename
;
}
Message
:
:
Blob
:
:
Blob
(
bloblist_t
*
bl
)
{
_value
=
NULL
;
attach
(
bl
)
;
}
Message
:
:
Blob
:
:
~
Blob
(
)
{
free
(
_value
)
;
+ 1
- 0
src/message.hh
View File
@ -19,6 +19,7 @@ namespace pEp {
public
:
Blob
(
char
*
value
=
NULL
,
size_t
size
=
0
,
string
mime_type
=
"
"
,
string
filename
=
"
"
)
;
Blob
(
bloblist_t
*
bl
)
;
Blob
(
const
Blob
&
second
,
bool
copy
=
false
)
;
~
Blob
(
)
;
void
attach
(
bloblist_t
*
blob
)
;
Write
Preview
Loading…
Cancel
Save