/usr/share/gocode/src/github.com/google/cups-connector/privet/bonjour.h is in google-cloud-print-connector 0.0~git20151105.24.1902938-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | // Copyright 2015 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
// +build darwin
#include <CFNetwork/CFNetServices.h>
#include <CoreFoundation/CFString.h>
#include <CoreFoundation/CFStream.h>
#include <stdio.h> // asprintf
#include <stdlib.h> // free
CFNetServiceRef startBonjour(const char *name, const char *type,
unsigned short int port, const char *ty, const char *url, const char *id,
const char *cs, char **err);
void updateBonjour(CFNetServiceRef service, const char *ty, const char *url,
const char *id, const char *cs);
void stopBonjour(CFNetServiceRef service);
|