Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
f88560c2
Commit
f88560c2
authored
Nov 10, 2005
by
Browse files
Add 'agent' component for DiMAPI
git-svn-id:
file:///home/svn/mapi/trunk@263
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
30c862b1
Changes
1
Show whitespace changes
Inline
Side-by-side
agent/agent.c
View file @
f88560c2
...
...
@@ -384,6 +384,16 @@ int getfid(struct dmapiipcbuf *dbuf){
result
=
mapi_apply_function
(
dbuf
->
fd
,
function
,
data
);
return
(
result
);
}
else
if
(
!
strcmp
(
function
,
"TRACK_FTP"
)){
//Checked
fprintf
(
stdout
,
"TRACK_FTP
\n
"
);
result
=
mapi_apply_function
(
dbuf
->
fd
,
function
);
return
(
result
);
}
else
if
(
!
strcmp
(
function
,
"TRACK_GNUTELLA"
)){
//Checked
fprintf
(
stdout
,
"TRACK_GNUTELLA
\n
"
);
result
=
mapi_apply_function
(
dbuf
->
fd
,
function
);
return
(
result
);
}
else
if
(
!
strcmp
(
function
,
"PKT_COUNTER"
)){
//Checked
fprintf
(
stdout
,
"PKT_COUNTER
\n
"
);
result
=
mapi_apply_function
(
dbuf
->
fd
,
function
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment