1*10465441SEvalZero /* 2*10465441SEvalZero * Copyright (c) 2004, Adam Dunkels. 3*10465441SEvalZero * All rights reserved. 4*10465441SEvalZero * 5*10465441SEvalZero * Redistribution and use in source and binary forms, with or without 6*10465441SEvalZero * modification, are permitted provided that the following conditions 7*10465441SEvalZero * are met: 8*10465441SEvalZero * 1. Redistributions of source code must retain the above copyright 9*10465441SEvalZero * notice, this list of conditions and the following disclaimer. 10*10465441SEvalZero * 2. Redistributions in binary form must reproduce the above copyright 11*10465441SEvalZero * notice, this list of conditions and the following disclaimer in the 12*10465441SEvalZero * documentation and/or other materials provided with the distribution. 13*10465441SEvalZero * 3. Neither the name of the Institute nor the names of its contributors 14*10465441SEvalZero * may be used to endorse or promote products derived from this software 15*10465441SEvalZero * without specific prior written permission. 16*10465441SEvalZero * 17*10465441SEvalZero * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 18*10465441SEvalZero * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19*10465441SEvalZero * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20*10465441SEvalZero * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 21*10465441SEvalZero * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22*10465441SEvalZero * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23*10465441SEvalZero * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24*10465441SEvalZero * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25*10465441SEvalZero * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26*10465441SEvalZero * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27*10465441SEvalZero * SUCH DAMAGE. 28*10465441SEvalZero * 29*10465441SEvalZero * This file is part of the uIP TCP/IP stack 30*10465441SEvalZero * 31*10465441SEvalZero * Author: Adam Dunkels <[email protected]> 32*10465441SEvalZero * 33*10465441SEvalZero * $Id: smtp-strings.c,v 1.3 2006/06/11 21:46:37 adam Exp $ 34*10465441SEvalZero */ 35*10465441SEvalZero const char smtp_220[4] = 36*10465441SEvalZero /* "220" */ 37*10465441SEvalZero {0x32, 0x32, 0x30, }; 38*10465441SEvalZero const char smtp_helo[6] = 39*10465441SEvalZero /* "HELO " */ 40*10465441SEvalZero {0x48, 0x45, 0x4c, 0x4f, 0x20, }; 41*10465441SEvalZero const char smtp_mail_from[12] = 42*10465441SEvalZero /* "MAIL FROM: " */ 43*10465441SEvalZero {0x4d, 0x41, 0x49, 0x4c, 0x20, 0x46, 0x52, 0x4f, 0x4d, 0x3a, 0x20, }; 44*10465441SEvalZero const char smtp_rcpt_to[10] = 45*10465441SEvalZero /* "RCPT TO: " */ 46*10465441SEvalZero {0x52, 0x43, 0x50, 0x54, 0x20, 0x54, 0x4f, 0x3a, 0x20, }; 47*10465441SEvalZero const char smtp_data[7] = 48*10465441SEvalZero /* "DATA\r\n" */ 49*10465441SEvalZero {0x44, 0x41, 0x54, 0x41, 0xd, 0xa, }; 50*10465441SEvalZero const char smtp_to[5] = 51*10465441SEvalZero /* "To: " */ 52*10465441SEvalZero {0x54, 0x6f, 0x3a, 0x20, }; 53*10465441SEvalZero const char smtp_cc[5] = 54*10465441SEvalZero /* "Cc: " */ 55*10465441SEvalZero {0x43, 0x63, 0x3a, 0x20, }; 56*10465441SEvalZero const char smtp_from[7] = 57*10465441SEvalZero /* "From: " */ 58*10465441SEvalZero {0x46, 0x72, 0x6f, 0x6d, 0x3a, 0x20, }; 59*10465441SEvalZero const char smtp_subject[10] = 60*10465441SEvalZero /* "Subject: " */ 61*10465441SEvalZero {0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x20, }; 62*10465441SEvalZero const char smtp_quit[7] = 63*10465441SEvalZero /* "QUIT\r\n" */ 64*10465441SEvalZero {0x51, 0x55, 0x49, 0x54, 0xd, 0xa, }; 65*10465441SEvalZero const char smtp_crnl[3] = 66*10465441SEvalZero /* "\r\n" */ 67*10465441SEvalZero {0xd, 0xa, }; 68*10465441SEvalZero const char smtp_crnlperiodcrnl[6] = 69*10465441SEvalZero /* "\r\n.\r\n" */ 70*10465441SEvalZero {0xd, 0xa, 0x2e, 0xd, 0xa, }; 71