summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/kext/GypKext/GypKext.c
blob: 9b611b0dc51ca249ae7687fa9c0b3ad193a17e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 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.

#include <sys/systm.h>
#include <mach/mach_types.h>

kern_return_t GypKext_start(kmod_info_t* ki, void* d) {
  printf("GypKext has started.\n");
  return KERN_SUCCESS;
}

kern_return_t GypKext_stop(kmod_info_t* ki, void* d) {
  printf("GypKext has stopped.\n");
  return KERN_SUCCESS;
}