networkingtestandutils/networkingperformancemeasurementtools/pcapservice/src/main.cpp
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Pcap service main entry point |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 */ |
|
22 |
|
23 #include <stdio.h> |
|
24 #include "GenericStub.h" |
|
25 #include "PcapService.h" |
|
26 |
|
27 #define SERVICE_IID 0x34631002 |
|
28 #define SERVICE_VERSION 1 |
|
29 |
|
30 |
|
31 int main() |
|
32 { |
|
33 printf("PcapService debug console...\n"); |
|
34 |
|
35 // set up on startup to ensure config is ok ASAP |
|
36 if (!CPcapService::Instance()->Setup()) |
|
37 return -1; |
|
38 |
|
39 printf("PcapService ready for UCC calls...\n"); |
|
40 |
|
41 return StartUCCService(SERVICE_IID, SERVICE_VERSION); |
|
42 } |
|
43 |
|
44 |