Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/pkg/mdns/mdns_extension_linux.cc

Issue 1416833009: Add multiple results and timeout handling to the Mac OS mDNS native extension (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 #if defined(FLETCH_TARGET_OS_LINUX) 5 #if defined(FLETCH_TARGET_OS_LINUX)
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
11 11
12 #include "include/dart_api.h" 12 #include "include/dart_api.h"
13 #include "include/dart_native_api.h" 13 #include "include/dart_native_api.h"
14 14
15 #include "mdns_extension.h" 15 #include "mdns_extension.h"
16 16
17 // Dummy implementation for Linux. 17 // Dummy implementation for Linux.
18 void HandleLookup(Dart_Port port_id, char* adress) {} 18 void HandleLookup(Dart_Port port_id, int type, char* fullname, int timeout) {}
19 19
20 #endif 20 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698