All of lore.kernel.org
 help / color / mirror / Atom feed
From: OpenBMC Patches <openbmc-patches@stwcx.xyz>
To: openbmc@lists.ozlabs.org
Subject: [PATCH ipmi-fru-parser 11/11] Include sdbus header in frup.c
Date: Sat,  7 Nov 2015 22:59:08 -0500	[thread overview]
Message-ID: <1446955148-30303-12-git-send-email-openbmc-patches@stwcx.xyz> (raw)
In-Reply-To: <1446955148-30303-1-git-send-email-openbmc-patches@stwcx.xyz>

From: Hariharasubramanian R <hramasub@in.ibm.com>

---
 frup.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/frup.c b/frup.c
index 2d8cc3b..96fd2ae 100644
--- a/frup.c
+++ b/frup.c
@@ -44,6 +44,7 @@
 #include <string.h>
 #include <time.h>
 #include <ctype.h>
+#include <systemd/sd-bus.h>
 
 #define uint8_t unsigned char
 #define uint32_t unsigned int
@@ -80,13 +81,6 @@ return -1; \
 #define OPENBMC_VPD_KEY_LEN                            64
 #define OPENBMC_VPD_VAL_LEN                            512
 
-
-extern "C"
-{
-int sd_bus_message_append (void*, const char*, ...);
-typedef struct sd_bus_message sd_bus_message;
-};
-
 struct ipmi_fru_field
 {
   uint8_t type_length_field[IPMI_FRU_AREA_TYPE_LENGTH_FIELD_MAX];
-- 
2.6.3

      parent reply	other threads:[~2015-11-08  3:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-08  3:58 [PATCH ipmi-fru-parser 00/11] Checking in the basic IPMI FRU Parser Library OpenBMC Patches
2015-11-08  3:58 ` [PATCH ipmi-fru-parser 01/11] Checking in the basic IPMI FRU Parser Library. Parser has just enough intelligence to parse Chassis, Board & Product info areas. No support for multi-record in this version. This parser is a stripped down version of the parser in the FreeIPMI distribution OpenBMC Patches
2015-11-08  3:58 ` [PATCH ipmi-fru-parser 02/11] IPMI FRU Parser Interface OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 03/11] Added interface function to parse wirte fru data message into a dictionary OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 04/11] Format string change in sd_bus_message_append OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 05/11] Added interface parse_fru_area to parse a specific area and populate a name/value dictionary OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 06/11] Removing depency in Makefile on the systemd library OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 07/11] Internal parser functions expect the area buffer to point to location where language code. Hence advance 2 bytes on the areabuf(to go past the fmt/version and len fields) and pass it to the area specific parser routines. Also fix bugs on offset/len calcuation OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 08/11] Fix format string in sd_bus_message_append to add as dictionary. Store manufacturing time in ISO8601 format OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 09/11] Construct format string for sd_bus_message_append based on field type encoding OpenBMC Patches
2015-11-08  3:59 ` [PATCH ipmi-fru-parser 10/11] Merging IPMI FRU writer and parser OpenBMC Patches
2015-11-08  3:59 ` OpenBMC Patches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446955148-30303-12-git-send-email-openbmc-patches@stwcx.xyz \
    --to=openbmc-patches@stwcx.xyz \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.