e70152e44cc66cc599ff6b699eb8adc07f3e656a kent Sat May 24 21:09:34 2014 -0700 Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment. diff --git src/hg/lib/api.c src/hg/lib/api.c index a9ca59b..c1672d4 100644 --- src/hg/lib/api.c +++ src/hg/lib/api.c @@ -1,17 +1,20 @@ /* Utility functions for web API programs */ +/* Copyright (C) 2014 The Regents of the University of California + * See README in this or parent directory for licensing information. */ + #include "common.h" #include "stdio.h" #include "api.h" void apiOut(char *text, char *jsonp) /* Output content header and text to stdout */ { // It's debatable whether the type should be text/plain, text/javascript or application/javascript; // text/javascript works with all our supported browsers, so we are using that one. puts("Content-Type:text/javascript\n"); if (jsonp) { printf("%s(%s)", jsonp, text); }