diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-24 17:15:43 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-24 17:15:43 +0200 |
commit | ed6e65a66f3bcf84dff4ff4e680096b7e40076d5 (patch) | |
tree | ef3c097361c500e1f6d44cad5f3872218eac8ab0 /drivers/gator/daemon/Sender.h | |
parent | 56fe6d63c36dc27747cd9b98c6ebd9cca0ab2899 (diff) |
Revert "Merge remote-tracking branch 'armlt/previous-armlt-gator' into stable-linux-ux500-3.3"
This reverts commit a394b8c66756934bf0bc526da1b888e524313fb4, reversing
changes made to a416f0c1e67d56752c38d8db621be99b3cf12bb8.
Diffstat (limited to 'drivers/gator/daemon/Sender.h')
-rw-r--r-- | drivers/gator/daemon/Sender.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/drivers/gator/daemon/Sender.h b/drivers/gator/daemon/Sender.h deleted file mode 100644 index 3444b852b01..00000000000 --- a/drivers/gator/daemon/Sender.h +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (C) ARM Limited 2010-2012. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef __SENDER_H__ -#define __SENDER_H__ - -#include <stdio.h> -#include <pthread.h> -#include "OlySocket.h" - -enum { - RESPONSE_END = 0, // unused - RESPONSE_XML = 1, - RESPONSE_APC_DATA = 3, - RESPONSE_ACK = 4, - RESPONSE_NAK = 5, - RESPONSE_ERROR = 0xFF -}; - -class Sender { -public: - Sender(OlySocket* socket); - ~Sender(); - void writeData(const char* data, int length, int type); - void createDataFile(char* apcDir); -private: - OlySocket* dataSocket; - FILE* dataFile; - char* dataFileName; - pthread_mutex_t sendMutex; -}; - -#endif //__SENDER_H__ |