repo.or.cz
/
opsoft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ruby plugin fixes
[opsoft.git]
/
gclib2
/
unit_tests
/
url.cxx
blob
0d171df0b91a964cc1c1d7915f0de24b950c3083
1
/*
2
* (c) Oleg Puchinin 2008
3
* graycardinalster@gmail.com
4
*
5
*/
6
7
#include <gclib2.h>
8
#include <gc_network.h>
9
10
int
main
(
int
argc
,
char
**
argv
)
11
{
12
int
size
;
13
char
*
m_data
;
14
15
printf
(
"protocol: %s; host: %s; file: %s
\n
"
,
url_protocol
(
argv
[
1
]),
16
url_host
(
argv
[
1
]),
17
url_file
(
argv
[
1
]));
18
}
19