1130812Smarcel/* 2130812Smarcel * Copyright (c) 2010 Kungliga Tekniska H��gskolan 3130812Smarcel * (Royal Institute of Technology, Stockholm, Sweden). 4130812Smarcel * All rights reserved. 5130812Smarcel * 6130812Smarcel * Portions Copyright (c) 2010 Apple Inc. All rights reserved. 7130812Smarcel * 8130812Smarcel * Redistribution and use in source and binary forms, with or without 9130812Smarcel * modification, are permitted provided that the following conditions 10130812Smarcel * are met: 11130812Smarcel * 12130812Smarcel * 1. Redistributions of source code must retain the above copyright 13130812Smarcel * notice, this list of conditions and the following disclaimer. 14130812Smarcel * 15130812Smarcel * 2. Redistributions in binary form must reproduce the above copyright 16130812Smarcel * notice, this list of conditions and the following disclaimer in the 17130812Smarcel * documentation and/or other materials provided with the distribution. 18130812Smarcel * 19130812Smarcel * 3. Neither the name of the Institute nor the names of its contributors 20130812Smarcel * may be used to endorse or promote products derived from this software 21130812Smarcel * without specific prior written permission. 22130812Smarcel * 23130812Smarcel * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 24130812Smarcel * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25130812Smarcel * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26130812Smarcel * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 27130812Smarcel * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28130812Smarcel * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29130812Smarcel * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30130812Smarcel * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31130812Smarcel * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32130812Smarcel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33130812Smarcel * SUCH DAMAGE. 34130812Smarcel */ 35130812Smarcel 36130812Smarcel#include "baselocl.h" 37130812Smarcel 38130812Smarcelstruct heim_type_data _heim_null_object = { 39130812Smarcel HEIM_TID_NULL, 40130812Smarcel "null-object", 41130812Smarcel NULL, 42130812Smarcel NULL, 43130812Smarcel NULL, 44130812Smarcel NULL, 45130812Smarcel NULL 46130812Smarcel}; 47130812Smarcel 48130812Smarcelheim_null_t 49130812Smarcelheim_null_create(void) 50130812Smarcel{ 51130812Smarcel return heim_base_make_tagged_object(0, HEIM_TID_NULL); 52130812Smarcel} 53130812Smarcel